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:
Diffstat (limited to 'spec/workers/merge_request_cleanup_refs_worker_spec.rb')
-rw-r--r--spec/workers/merge_request_cleanup_refs_worker_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/workers/merge_request_cleanup_refs_worker_spec.rb b/spec/workers/merge_request_cleanup_refs_worker_spec.rb
index a2df31037be..6c87b6827a8 100644
--- a/spec/workers/merge_request_cleanup_refs_worker_spec.rb
+++ b/spec/workers/merge_request_cleanup_refs_worker_spec.rb
@@ -40,18 +40,6 @@ RSpec.describe MergeRequestCleanupRefsWorker, feature_category: :code_review_wor
end
end
end
-
- context 'when merge_request_refs_cleanup flag is disabled' do
- before do
- stub_feature_flags(merge_request_refs_cleanup: false)
- end
-
- it 'does nothing' do
- expect(MergeRequests::CleanupRefsService).not_to receive(:new)
-
- worker.perform_work
- end
- end
end
context 'when there is no next cleanup schedule found' do