diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-04 09:15:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-04 09:15:28 +0300 |
commit | 1a1473f44731b3f78a8485337abd3d14833efb4a (patch) | |
tree | f6e650301bc6a85242684518a91b20aee0f5f691 /spec/workers/loose_foreign_keys | |
parent | 9f7f0ef116cd8f57446e1e395d8c2d6c88148096 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/loose_foreign_keys')
-rw-r--r-- | spec/workers/loose_foreign_keys/cleanup_worker_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb b/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb index 497f95cf34d..6f4389a7541 100644 --- a/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb +++ b/spec/workers/loose_foreign_keys/cleanup_worker_spec.rb @@ -141,16 +141,6 @@ RSpec.describe LooseForeignKeys::CleanupWorker do end end - context 'when the loose_foreign_key_cleanup feature flag is off' do - before do - stub_feature_flags(loose_foreign_key_cleanup: false) - end - - it 'does nothing' do - expect { described_class.new.perform }.not_to change { LooseForeignKeys::DeletedRecord.status_processed.count } - end - end - describe 'multi-database support' do where(:current_minute, :configured_base_models, :expected_connection) do 2 | { main: ApplicationRecord, ci: Ci::ApplicationRecord } | ApplicationRecord.connection |