diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2018-12-11 09:29:58 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2018-12-11 09:29:58 +0300 |
commit | db267fa31bcbf991a2efb932b85a8935a13b0941 (patch) | |
tree | 2c734e642dd3f89e25d23d114ccc334e2ec60e81 /spec/spec_helper.rb | |
parent | 185f8a5da6b4bd6090aa41e5f39ad0381200ee84 (diff) |
Fix RSpec/HookArgument rubocop offense
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3fedb9ed48c..8e424afffa5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -115,7 +115,7 @@ RSpec.configure do |config| TestEnv.clean_test_path end - config.before(:example) do + config.before do # Enable all features by default for testing allow(Feature).to receive(:enabled?) { true } @@ -136,11 +136,11 @@ RSpec.configure do |config| RequestStore.clear! end - config.after(:example) do + config.after do Fog.unmock! if Fog.mock? end - config.after(:example) do + config.after do Gitlab::CurrentSettings.clear_in_memory_application_settings! end |