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-05-19 13:13:15 +0300
committerRémy Coutable <remy@rymai.me>2017-05-19 13:13:15 +0300
commit0fe3b2e38342978c5c231798eedc982a56da3c8a (patch)
tree25624601355a53321e1324ff268c3e7cf1180963
parent0bce9872b4c82ed172e2d811ab951ab5b034901f (diff)
Add descriptions for the RSpec/EmptyExampleGroup and RSpec/ExpectOutput cops
[ci skip] Signed-off-by: Rémy Coutable <remy@rymai.me>
-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