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:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-10-06 00:52:24 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2017-10-06 00:52:24 +0300
commit3f3e4dd1d35ee059e8b35022c8cc4ba60bba16a0 (patch)
tree71dd5f71c8f447a025bf632fc66cfab5e62a7a26 /spec/workers/wait_for_cluster_creation_worker_spec.rb
parent4cda11585c75ce923d357b0dbb91fb393ed8e303 (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.rb4
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