@@ -32,7 +32,7 @@ RSpec.describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
expect(external_data_counter).tobe>0
expect(subjects.count).tobe>0
expect{subjects.first.destroy}.toraise_error('`destroy` and `destroy_all` are forbidden. Please use `fast_destroy_all`')
expect{subjects.first.destroy!}.toraise_error('`destroy` and `destroy_all` are forbidden. Please use `fast_destroy_all`')
expect{subjects.destroy_all}.toraise_error('`destroy` and `destroy_all` are forbidden. Please use `fast_destroy_all`')# rubocop: disable Cop/DestroyAll
expect(subjects.count).tobe>0
...
...
@@ -57,7 +57,7 @@ RSpec.describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do