summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-08 10:46:25 +0200
committerRémy Coutable <remy@rymai.me>2017-08-11 14:55:10 +0200
commit57a561db4e27cb1f221fc5c2776d8cbfecf6a0df (patch)
treea2c8556a0f2a2f3a041575a93a253d979abe7b4c
parent7e3ff5a0beb64ca076f7e0af1d07e3c99775e426 (diff)
downloadgitlab-ce-57a561db4e27cb1f221fc5c2776d8cbfecf6a0df.tar.gz
Fix cop description
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--.rubocop.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 18d8e009da6..d25b4ac39c9 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1045,7 +1045,7 @@ RSpec/BeforeAfterAll:
RSpec/DescribeClass:
Enabled: false
-# Use `described_class` for tested class / module.
+# Checks that the second argument to `describe` specifies a method.
RSpec/DescribeMethod:
Enabled: false
@@ -1053,8 +1053,7 @@ RSpec/DescribeMethod:
RSpec/DescribeSymbol:
Enabled: true
-# Checks that the second argument to top level describe is the tested method
-# name.
+# Checks that tests use `described_class`.
RSpec/DescribedClass:
Enabled: true