Commit cfd2c31b authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'mk/backport-fix-safe-request-store-test' into 'master'

[CE backport] Fix RequestStore-related EE-only test failure

See merge request gitlab-org/gitlab-ce!21915
parents 6c3c76af b720ea06
...@@ -219,11 +219,11 @@ describe Gitlab::SafeRequestStore do ...@@ -219,11 +219,11 @@ describe Gitlab::SafeRequestStore do
end end
context 'when RequestStore is NOT active' do context 'when RequestStore is NOT active' do
around do |example| before do
RequestStore.write('foo', true) RequestStore.write('foo', true)
end
example.run after do
RequestStore.clear! # Clean up RequestStore.clear! # Clean up
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment