diff options
author | Robert Speicher <robert@gitlab.com> | 2017-05-19 14:03:32 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-05-19 14:03:32 +0000 |
commit | 9bf95ddd83fd3ef1216952692ff789d7c5688578 (patch) | |
tree | 036b10097747108066ac33abe88b58a396271b79 | |
parent | a88a12cb854c0106bd99c9403efe72c362ce319a (diff) | |
parent | 0fe3b2e38342978c5c231798eedc982a56da3c8a (diff) | |
download | gitlab-ce-9bf95ddd83fd3ef1216952692ff789d7c5688578.tar.gz |
Merge branch 'add-cop-descriptions' into 'master'
Add descriptions for the RSpec/EmptyExampleGroup and RSpec/ExpectOutput cops
[ci skip]
See merge request !11540
-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 |