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:
authorRobert Speicher <robert@gitlab.com>2017-05-18 22:43:52 +0300
committerRobert Speicher <robert@gitlab.com>2017-05-18 22:43:52 +0300
commit36ede00876aacd0005eac8e9b4779e3014519e0c (patch)
tree3f21ccb09665c57446f6ad3fe1d8b5a9c95ffc93 /.rubocop.yml
parent9616027045b68a8d238ca24d3116ff6f7bf9b3dc (diff)
parentd900f19dfa15073e43150f9fab6495ad09ca6f9a (diff)
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.yml6
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