summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-05-19 12:13:15 +0200
committerRémy Coutable <remy@rymai.me>2017-05-19 12:13:15 +0200
commit0fe3b2e38342978c5c231798eedc982a56da3c8a (patch)
tree25624601355a53321e1324ff268c3e7cf1180963 /.rubocop.yml
parent0bce9872b4c82ed172e2d811ab951ab5b034901f (diff)
downloadgitlab-ce-0fe3b2e38342978c5c231798eedc982a56da3c8a.tar.gz
Add descriptions for the RSpec/EmptyExampleGroup and RSpec/ExpectOutput copsadd-cop-descriptions
[ci skip] Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index f4848606896..3cdafd96456 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -969,7 +969,7 @@ RSpec/DescribeSymbol:
RSpec/DescribedClass:
Enabled: true
-# Configuration parameters: CustomIncludeMethods.
+# Checks if an example group does not include any tests.
RSpec/EmptyExampleGroup:
Enabled: true
CustomIncludeMethods:
@@ -993,6 +993,7 @@ RSpec/ExampleWording:
RSpec/ExpectActual:
Enabled: true
+# Checks for opportunities to use `expect { … }.to output`.
RSpec/ExpectOutput:
Enabled: true