summaryrefslogtreecommitdiff
path: root/spec/workers/migrate_external_diffs_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/migrate_external_diffs_worker_spec.rb')
-rw-r--r--spec/workers/migrate_external_diffs_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/migrate_external_diffs_worker_spec.rb b/spec/workers/migrate_external_diffs_worker_spec.rb
index 86d4680acbe..36669b4e694 100644
--- a/spec/workers/migrate_external_diffs_worker_spec.rb
+++ b/spec/workers/migrate_external_diffs_worker_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe MigrateExternalDiffsWorker do
end
it 'does nothing if the diff is missing' do
- diff.destroy
+ diff.destroy!
worker.perform(diff.id)
end