summaryrefslogtreecommitdiff
path: root/spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb')
-rw-r--r--spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb48
1 files changed, 24 insertions, 24 deletions
diff --git a/spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb b/spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb
index 2e2e9afd25a..57198320330 100644
--- a/spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb
+++ b/spec/workers/cluster_wait_for_ingress_ip_address_worker_spec.rb
@@ -1,30 +1,30 @@
-require 'spec_helper'
+# require 'spec_helper'
-describe ClusterWaitForIngressIpAddressWorker do
- describe '#perform' do
- let(:service) { instance_double(Clusters::Applications::CheckIngressIpAddressService, execute: true) }
- let(:application) { instance_double(Clusters::Applications::Ingress) }
- let(:worker) { described_class.new }
+# describe ClusterWaitForIngressIpAddressWorker do
+# describe '#perform' do
+# let(:service) { instance_double(Clusters::Applications::CheckIngressIpAddressService, execute: true) }
+# let(:application) { instance_double(Clusters::Applications::Ingress) }
+# let(:worker) { described_class.new }
- before do
- allow(worker)
- .to receive(:find_application)
- .with('ingress', 117)
- .and_yield(application)
+# before do
+# allow(worker)
+# .to receive(:find_application)
+# .with('ingress', 117)
+# .and_yield(application)
- allow(Clusters::Applications::CheckIngressIpAddressService)
- .to receive(:new)
- .with(application)
- .and_return(service)
+# allow(Clusters::Applications::CheckIngressIpAddressService)
+# .to receive(:new)
+# .with(application)
+# .and_return(service)
- allow(described_class)
- .to receive(:perform_in)
- end
+# allow(described_class)
+# .to receive(:perform_in)
+# end
- it 'finds the application and calls CheckIngressIpAddressService#execute' do
- worker.perform('ingress', 117)
+# it 'finds the application and calls CheckIngressIpAddressService#execute' do
+# worker.perform('ingress', 117)
- expect(service).to have_received(:execute)
- end
- end
-end
+# expect(service).to have_received(:execute)
+# end
+# end
+# end