diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
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| |