diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-06 00:52:24 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-06 00:52:24 +0300 |
commit | 3f3e4dd1d35ee059e8b35022c8cc4ba60bba16a0 (patch) | |
tree | 71dd5f71c8f447a025bf632fc66cfab5e62a7a26 /spec/workers/wait_for_cluster_creation_worker_spec.rb | |
parent | 4cda11585c75ce923d357b0dbb91fb393ed8e303 (diff) |
Fix failing spec
Diffstat (limited to 'spec/workers/wait_for_cluster_creation_worker_spec.rb')
-rw-r--r-- | spec/workers/wait_for_cluster_creation_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/wait_for_cluster_creation_worker_spec.rb b/spec/workers/wait_for_cluster_creation_worker_spec.rb index 489dd769c12..c60dfb9dd4c 100644 --- a/spec/workers/wait_for_cluster_creation_worker_spec.rb +++ b/spec/workers/wait_for_cluster_creation_worker_spec.rb @@ -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 |