Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-08 11:46:25 +0300
committerRémy Coutable <remy@rymai.me>2017-08-11 15:55:10 +0300
commit57a561db4e27cb1f221fc5c2776d8cbfecf6a0df (patch)
treea2c8556a0f2a2f3a041575a93a253d979abe7b4c /.rubocop.yml
parent7e3ff5a0beb64ca076f7e0af1d07e3c99775e426 (diff)
Fix cop description
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.rubocop.yml')
-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