Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-03 15:09:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-03 15:09:07 +0300
commitc089cf73c2f1835dc68fd6107d6cbd10fc17f365 (patch)
treeb91f11ed13f00c84ee69e03150d00426279911ef /spec/spec_helper.rb
parentf14507e586a7f75f0fb71a1d8468b7361be860d4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
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