Enable paperclip for account attachment examples (#25381)

This commit is contained in:
Matt Jankowski 2023-06-12 11:37:43 -04:00 committed by GitHub
parent 94ef94c5ea
commit 3fa5d7092e

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
shared_examples 'AccountAvatar' do |fabricator| shared_examples 'AccountAvatar' do |fabricator|
describe 'static avatars' do describe 'static avatars', paperclip_processing: true do
describe 'when GIF' do describe 'when GIF' do
it 'creates a png static style' do it 'creates a png static style' do
account = Fabricate(fabricator, avatar: attachment_fixture('avatar.gif')) account = Fabricate(fabricator, avatar: attachment_fixture('avatar.gif'))