summaryrefslogtreecommitdiff
path: root/spec/helpers/appearances_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/appearances_helper_spec.rb')
-rw-r--r--spec/helpers/appearances_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/appearances_helper_spec.rb b/spec/helpers/appearances_helper_spec.rb
index 179c69b2a67..d972ac27119 100644
--- a/spec/helpers/appearances_helper_spec.rb
+++ b/spec/helpers/appearances_helper_spec.rb
@@ -70,7 +70,7 @@ RSpec.describe AppearancesHelper do
context 'when there is a logo but no associated upload' do
before do
# Legacy attachments were not tracked in the uploads table
- appearance.logo.upload.destroy
+ appearance.logo.upload.destroy!
appearance.reload
end