summaryrefslogtreecommitdiff
path: root/spec/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-08-10 18:31:42 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-08-10 19:29:42 -0400
commitc8b802471bcb6ea9ea7af3c7a139598a1f945230 (patch)
treefb3fe5c094d8a831ede19d4ff2f1471914744907 /spec/config
parent4ef10795ce5e24dc0f905daeb7236fe707a8c195 (diff)
downloadgitlab-ce-c8b802471bcb6ea9ea7af3c7a139598a1f945230.tar.gz
Enable the RSpec/HookArgument cop and auto-correct offenses
Diffstat (limited to 'spec/config')
-rw-r--r--spec/config/mail_room_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/config/mail_room_spec.rb b/spec/config/mail_room_spec.rb
index a31e44fa928..74634dac713 100644
--- a/spec/config/mail_room_spec.rb
+++ b/spec/config/mail_room_spec.rb
@@ -20,12 +20,12 @@ describe 'mail_room.yml' do
YAML.load(output)
end
- before(:each) do
+ before do
stub_env('GITLAB_REDIS_QUEUES_CONFIG_FILE', absolute_path(queues_config_path))
clear_queues_raw_config
end
- after(:each) do
+ after do
clear_queues_raw_config
end