diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-22 21:09:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-22 21:09:56 +0300 |
commit | 2bb1dbf21f2a684b29c63be7e2594886884cd2ac (patch) | |
tree | 3cc97c5fd10d3866ff3b5662668feddf40ab4b8e /spec/models/clusters | |
parent | 640007842a876dfa551578feccfd0fe2307c522a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/clusters')
-rw-r--r-- | spec/models/clusters/integrations/prometheus_spec.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/models/clusters/integrations/prometheus_spec.rb b/spec/models/clusters/integrations/prometheus_spec.rb index d1e40fffee0..90e99aefdce 100644 --- a/spec/models/clusters/integrations/prometheus_spec.rb +++ b/spec/models/clusters/integrations/prometheus_spec.rb @@ -26,19 +26,6 @@ RSpec.describe Clusters::Integrations::Prometheus do integration.destroy! end - - context 'when the FF :rename_integrations_workers is disabled' do - before do - stub_feature_flags(rename_integrations_workers: false) - end - - it 'uses the old worker' do - expect(Clusters::Applications::DeactivateServiceWorker) - .to receive(:perform_async).with(cluster.id, 'prometheus') - - integration.destroy! - end - end end describe 'after_save' do @@ -70,19 +57,6 @@ RSpec.describe Clusters::Integrations::Prometheus do integration.update!(enabled: true) end - - context 'when the FF :rename_integrations_workers is disabled' do - before do - stub_feature_flags(rename_integrations_workers: false) - end - - it 'uses the old worker' do - expect(Clusters::Applications::ActivateServiceWorker) - .to receive(:perform_async).with(cluster.id, 'prometheus') - - integration.update!(enabled: true) - end - end end context 'when disabling' do |