summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-15 16:08:05 +0200
committerRémy Coutable <remy@rymai.me>2017-09-15 16:08:05 +0200
commita4d761231b64d4305b32393c55ea5300601076a4 (patch)
tree5e38a658a689e9aff6a3c4a14c68d32714e7f6d3
parent6cd3f566be9448c15c36d8a0e5a3e8d75e309187 (diff)
downloadgitlab-ce-a4d761231b64d4305b32393c55ea5300601076a4.tar.gz
Enable the RSpec/AggregateFailures cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--.rubocop.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index dbeb1880d39..17c47f28f73 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,6 +1,7 @@
require:
- rubocop-rspec
- rubocop-gitlab-security
+ - test_prof/rubocop
- ./rubocop/rubocop
inherit_from: .rubocop_todo.yml
@@ -27,6 +28,11 @@ AllCops:
- 'generator_templates/**/*'
- 'builds/**/*'
+RSpec/AggregateFailures:
+ Enabled: true
+ Include:
+ - 'spec/**/*.rb'
+
# Gems in consecutive lines should be alphabetically sorted
Bundler/OrderedGems:
Enabled: false