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-18 19:25:50 +0300
committerRémy Coutable <remy@rymai.me>2017-05-18 19:25:50 +0300
commitd900f19dfa15073e43150f9fab6495ad09ca6f9a (patch)
tree227245d5593751d89e80c367a54b54c0b451bc85 /.rubocop.yml
parent4de3d0b1bea5066e772ad6a7d02614d907594f17 (diff)
Enable the RSpec/EmptyExampleGroup cop
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