summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-06-06 10:34:53 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-06-14 13:19:05 -0500
commit4daf9c00b7d38164f9a50dd3f27edc88235cecb8 (patch)
tree5913098b01d3931c61eb935e4c2587dbdab20716
parenta6ec5121f0c844786c84c568a3200562ec58a9c2 (diff)
downloadgitlab-ce-4daf9c00b7d38164f9a50dd3f27edc88235cecb8.tar.gz
Enable RSpec/SingleLineHook cop
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index cca36b3b5ee..4537e710dd4 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1066,7 +1066,7 @@ RSpec/RepeatedDescription:
# Ensure RSpec hook blocks are always multi-line.
RSpec/SingleLineHook:
- Enabled: false
+ Enabled: true
Exclude:
- 'spec/factories/*'
- 'spec/requests/api/v3/*'