summaryrefslogtreecommitdiff
path: root/spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb')
-rw-r--r--spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb b/spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb
index f42033fdb9c..7c585542e30 100644
--- a/spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb
+++ b/spec/workers/users/migrate_records_to_ghost_user_in_batches_worker_spec.rb
@@ -38,16 +38,4 @@ RSpec.describe Users::MigrateRecordsToGhostUserInBatchesWorker do
expect(issue.last_edited_by).to eq(User.ghost)
end
end
-
- context 'when user_destroy_with_limited_execution_time_worker is disabled' do
- before do
- stub_feature_flags(user_destroy_with_limited_execution_time_worker: false)
- end
-
- it 'does not execute the service' do
- expect(Users::MigrateRecordsToGhostUserInBatchesService).not_to receive(:new)
-
- worker.perform
- end
- end
end