Support animated PNGs in media attachments (#28516)

This commit is contained in:
Christian Schmidt authored and GitHub committed 2024-12-11 02:28:21 +00:00
1 parent 39364346bb
commit a70ae28644
11 files changed
+123 -183

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ RSpec.describe 'Media' do
end
context 'with image/gif', :attachment_processing do
let(:params) { { file: fixture_file_upload('attachment.gif', 'image/gif') } }
let(:params) { { file: fixture_file_upload('600x400.gif', 'image/gif') } }
it_behaves_like 'a successful media upload', 'image'
end