diff options
Diffstat (limited to 'spec/workers/clusters/applications/deactivate_integration_worker_spec.rb')
-rw-r--r-- | spec/workers/clusters/applications/deactivate_integration_worker_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/workers/clusters/applications/deactivate_integration_worker_spec.rb b/spec/workers/clusters/applications/deactivate_integration_worker_spec.rb index 3f0188eee23..62792a3b7d9 100644 --- a/spec/workers/clusters/applications/deactivate_integration_worker_spec.rb +++ b/spec/workers/clusters/applications/deactivate_integration_worker_spec.rb @@ -46,15 +46,6 @@ RSpec.describe Clusters::Applications::DeactivateIntegrationWorker, '#perform' d expect { described_class.new.perform(cluster.id, integration_name) } .to change { prometheus_integration.reload.active }.from(true).to(false) end - - context 'when using the old worker class' do - let(:described_class) { Clusters::Applications::ActivateServiceWorker } - - it 'ensures Prometheus integration is deactivated' do - expect { described_class.new.perform(cluster.id, integration_name) } - .to change { prometheus_integration.reload.active }.from(true).to(false) - end - end end end |