diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-08-11 01:31:42 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-08-11 02:29:42 +0300 |
commit | c8b802471bcb6ea9ea7af3c7a139598a1f945230 (patch) | |
tree | fb3fe5c094d8a831ede19d4ff2f1471914744907 /spec/config/mail_room_spec.rb | |
parent | 4ef10795ce5e24dc0f905daeb7236fe707a8c195 (diff) |
Enable the RSpec/HookArgument cop and auto-correct offenses
Diffstat (limited to 'spec/config/mail_room_spec.rb')
-rw-r--r-- | spec/config/mail_room_spec.rb | 4 |
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 |