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/lib/gitlab/safe_request_store_spec.rb
parentf14507e586a7f75f0fb71a1d8468b7361be860d4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/safe_request_store_spec.rb')
-rw-r--r--spec/lib/gitlab/safe_request_store_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/safe_request_store_spec.rb b/spec/lib/gitlab/safe_request_store_spec.rb
index bae87e43615..def05a3f285 100644
--- a/spec/lib/gitlab/safe_request_store_spec.rb
+++ b/spec/lib/gitlab/safe_request_store_spec.rb
@@ -38,7 +38,7 @@ describe Gitlab::SafeRequestStore do
describe '.clear!' do
context 'when RequestStore is active', :request_store do
it 'uses RequestStore' do
- expect(RequestStore).to receive(:clear!).twice.and_call_original
+ expect(RequestStore).to receive(:clear!).once.and_call_original
described_class.clear!
end
@@ -56,7 +56,7 @@ describe Gitlab::SafeRequestStore do
describe '.end!' do
context 'when RequestStore is active', :request_store do
it 'uses RequestStore' do
- expect(RequestStore).to receive(:end!).twice.and_call_original
+ expect(RequestStore).to receive(:end!).once.and_call_original
described_class.end!
end