summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-05-18 18:25:50 +0200
committerRémy Coutable <remy@rymai.me>2017-05-18 18:25:50 +0200
commitd900f19dfa15073e43150f9fab6495ad09ca6f9a (patch)
tree227245d5593751d89e80c367a54b54c0b451bc85 /.rubocop.yml
parent4de3d0b1bea5066e772ad6a7d02614d907594f17 (diff)
downloadgitlab-ce-d900f19dfa15073e43150f9fab6495ad09ca6f9a.tar.gz
Enable the RSpec/EmptyExampleGroup coprubocop-empty-example-group
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 4e1d456d8d1..96dbb84c6bf 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