diff options
author | Robert Speicher <robert@gitlab.com> | 2017-05-18 19:43:52 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-05-18 19:43:52 +0000 |
commit | 36ede00876aacd0005eac8e9b4779e3014519e0c (patch) | |
tree | 3f21ccb09665c57446f6ad3fe1d8b5a9c95ffc93 /.rubocop.yml | |
parent | 9616027045b68a8d238ca24d3116ff6f7bf9b3dc (diff) | |
parent | d900f19dfa15073e43150f9fab6495ad09ca6f9a (diff) | |
download | gitlab-ce-36ede00876aacd0005eac8e9b4779e3014519e0c.tar.gz |
Merge branch 'rubocop-empty-example-group' into 'master'
Enable the RSpec/EmptyExampleGroup cop
See merge request !11497
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 9380f65eb65..f4848606896 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -969,6 +969,12 @@ RSpec/DescribeSymbol: RSpec/DescribedClass: Enabled: true +# Configuration parameters: CustomIncludeMethods. +RSpec/EmptyExampleGroup: + Enabled: true + CustomIncludeMethods: + - run_permission_checks + # Checks for long example. RSpec/ExampleLength: Enabled: false |