Commit 3f3e4dd1 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix failing spec

parent 4cda1158
......@@ -56,9 +56,9 @@ describe WaitForClusterCreationWorker do
context 'when cluster does not exist' do
it 'does not provision a cluster' do
expect_any_instance_of(Ci::FetchGcpOperationService).to receive(:execute).with(nil)
expect_any_instance_of(Ci::FetchGcpOperationService).not_to receive(:execute)
described_class.new.perform(123)
described_class.new.perform(1234)
end
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