Remove deprecated usage of imagemagick (#37488)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2026-01-22 14:57:19 +00:00
1 parent 3a84b73d80
commit 157d8c0d99
19 files changed
+37 -224

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ RSpec.describe 'Media' do
allow(user.account).to receive(:media_attachments).and_return(media_attachments)
end
context 'when imagemagick cannot identify the file type' do
context 'when file type cannot be identified' do
it 'returns http unprocessable entity' do
allow(media_attachments).to receive(:create!).and_raise(Paperclip::Errors::NotIdentifiedByImageMagickError)
+1 -1
View File
@@ -71,7 +71,7 @@ RSpec.describe 'Media API', :attachment_processing do
allow(user.account).to receive(:media_attachments).and_return(media_attachments)
end
context 'when imagemagick cannot identify the file type' do
context 'when file type cannot be identified' do
before do
allow(media_attachments).to receive(:create!).and_raise(Paperclip::Errors::NotIdentifiedByImageMagickError)
end