summaryrefslogtreecommitdiff
path: root/spec/services/users/destroy_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/users/destroy_service_spec.rb')
-rw-r--r--spec/services/users/destroy_service_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/services/users/destroy_service_spec.rb b/spec/services/users/destroy_service_spec.rb
index f972fb4c5b9..2b658a93b0a 100644
--- a/spec/services/users/destroy_service_spec.rb
+++ b/spec/services/users/destroy_service_spec.rb
@@ -26,16 +26,6 @@ describe Users::DestroyService do
service.execute(user)
end
- context 'when :destroy_user_associations_in_batches flag is disabled' do
- it 'does not delete user associations in batches' do
- stub_feature_flags(destroy_user_associations_in_batches: false)
-
- expect(user).not_to receive(:destroy_dependent_associations_in_batches)
-
- service.execute(user)
- end
- end
-
it 'will delete the project' do
expect_next_instance_of(Projects::DestroyService) do |destroy_service|
expect(destroy_service).to receive(:execute).once.and_return(true)