Fix check_gcp_project_billing_worker_spec.rb
This commit is contained in:
parent
684e574aba
commit
e86eb09111
|
@ -27,7 +27,7 @@ describe CheckGcpProjectBillingWorker do
|
||||||
|
|
||||||
expect(CheckGcpProjectBillingService).to receive_message_chain(:new, :execute).and_return([double])
|
expect(CheckGcpProjectBillingService).to receive_message_chain(:new, :execute).and_return([double])
|
||||||
expect(Gitlab::Redis::SharedState).to receive(:with).and_yield(redis_double)
|
expect(Gitlab::Redis::SharedState).to receive(:with).and_yield(redis_double)
|
||||||
expect(redis_double).to receive(:set).with(described_class.redis_shared_state_key_for(token), anything)
|
expect(redis_double).to receive(:set).with(described_class.redis_shared_state_key_for(token), anything, anything)
|
||||||
|
|
||||||
subject
|
subject
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue