summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-10 03:09:10 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-10 03:09:10 +0000
commit5d756f9966c2f91b96cef7e552693e5bd1f1fb21 (patch)
tree4edd5c50411c21c57867d57a776e6c8a67d6f247 /spec/spec_helper.rb
parent23e66f03108f811dbb6f9aa4fc463f888666522d (diff)
downloadgitlab-ce-5d756f9966c2f91b96cef7e552693e5bd1f1fb21.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 9a49c57e48c..ddda3ede083 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -304,10 +304,10 @@ RSpec.configure do |config|
RequestStore.clear!
end
- config.around(:example, :context_aware) do |example|
+ config.around do |example|
# Wrap each example in it's own context to make sure the contexts don't
# leak
- Gitlab::ApplicationContext.with_raw_context { example.run }
+ Labkit::Context.with_context { example.run }
end
config.around do |example|