diff options
| author | Rémy Coutable <remy@rymai.me> | 2017-05-19 12:13:15 +0200 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2017-05-19 12:13:15 +0200 |
| commit | 0fe3b2e38342978c5c231798eedc982a56da3c8a (patch) | |
| tree | 25624601355a53321e1324ff268c3e7cf1180963 | |
| parent | 0bce9872b4c82ed172e2d811ab951ab5b034901f (diff) | |
| download | gitlab-ce-add-cop-descriptions.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>
| -rw-r--r-- | .rubocop.yml | 3 |
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 |
