summaryrefslogtreecommitdiff
path: root/spec/support/matchers/access_matchers.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 11:25:50 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:32:22 -0600
commitf74ca33a32fbf810b377cf480e996fb383d8f400 (patch)
treeb49de25e505da3ee7ca44493c4934b1add025130 /spec/support/matchers/access_matchers.rb
parentf3a83dc8fc377357291fd25d333f5b5a3616fae9 (diff)
downloadgitlab-ce-f74ca33a32fbf810b377cf480e996fb383d8f400.tar.gz
Enable Style/ClassCheck
Diffstat (limited to 'spec/support/matchers/access_matchers.rb')
-rw-r--r--spec/support/matchers/access_matchers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/access_matchers.rb b/spec/support/matchers/access_matchers.rb
index ceddb656596..7d238850520 100644
--- a/spec/support/matchers/access_matchers.rb
+++ b/spec/support/matchers/access_matchers.rb
@@ -38,7 +38,7 @@ module AccessMatchers
end
def description_for(user, type)
- if user.kind_of?(User)
+ if user.is_a?(User)
# User#inspect displays too much information for RSpec's descriptions
"be #{type} for the specified user"
else