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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-13 00:13:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-13 00:13:31 +0300
commit42a4fe5b394e010b3f512a5a138359618295193b (patch)
tree9552d72a17537c74f813d489e822e09e91d1dc3c /spec/workers
parent6121ad5af38294f12db08f13aec122c3dbef583a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/ci/catalog/resources/process_sync_events_worker_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/workers/ci/catalog/resources/process_sync_events_worker_spec.rb b/spec/workers/ci/catalog/resources/process_sync_events_worker_spec.rb
index fba8bb50a32..036cc54e9ba 100644
--- a/spec/workers/ci/catalog/resources/process_sync_events_worker_spec.rb
+++ b/spec/workers/ci/catalog/resources/process_sync_events_worker_spec.rb
@@ -48,21 +48,5 @@ RSpec.describe Ci::Catalog::Resources::ProcessSyncEventsWorker, feature_category
perform
end
-
- context 'when FF `ci_process_catalog_resource_sync_events` is disabled' do
- before do
- stub_feature_flags(ci_process_catalog_resource_sync_events: false)
- end
-
- it 'does not process the sync events', :aggregate_failures do
- expect(worker).not_to receive(:log_extra_metadata_on_done)
-
- expect { perform }.not_to change { Ci::Catalog::Resources::SyncEvent.status_pending.count }
-
- expect(resource.reload.name).to eq('Old Name')
- expect(resource.reload.description).to be_nil
- expect(resource.reload.visibility_level).to eq(Gitlab::VisibilityLevel::PRIVATE)
- end
- end
end
end