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>2021-03-09 18:08:59 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-09 18:08:59 +0300
commit6f2b1c32f3ccf422575f591b42372534502dcd72 (patch)
tree2ed532687d73e290f07c760825c02a2ecbaa5416 /spec/spec_helper.rb
parentb90d8b54a4d623e52cf1d4318023e3b18d13dd5b (diff)
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 ddda3ede083..9a49c57e48c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -304,10 +304,10 @@ RSpec.configure do |config|
RequestStore.clear!
end
- config.around do |example|
+ config.around(:example, :context_aware) do |example|
# Wrap each example in it's own context to make sure the contexts don't
# leak
- Labkit::Context.with_context { example.run }
+ Gitlab::ApplicationContext.with_raw_context { example.run }
end
config.around do |example|