diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 15:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 15:09:07 +0300 |
commit | c089cf73c2f1835dc68fd6107d6cbd10fc17f365 (patch) | |
tree | b91f11ed13f00c84ee69e03150d00426279911ef /spec/spec_helper.rb | |
parent | f14507e586a7f75f0fb71a1d8468b7361be860d4 (diff) |
Add latest changes from gitlab-org/gitlab@master
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 6393e482904..32eeeb5dfb4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -208,11 +208,11 @@ RSpec.configure do |config| example.run if config.inclusion_filter[:quarantine] end - config.before(:example, :request_store) do + config.around(:example, :request_store) do |example| RequestStore.begin! - end - config.after(:example, :request_store) do + example.run + RequestStore.end! RequestStore.clear! end |