Migrate procedure logo to active_storage

This commit is contained in:
Paul Chavard 2019-08-20 11:28:07 +02:00
parent ce97b8c359
commit cc35a04e26
14 changed files with 85 additions and 40 deletions

View file

@ -43,7 +43,7 @@ FactoryBot.define do
end
trait :with_logo do
logo { Rack::Test::UploadedFile.new("./spec/fixtures/files/logo_test_procedure.png", 'image/png') }
logo_active_storage { Rack::Test::UploadedFile.new("./spec/fixtures/files/logo_test_procedure.png", 'image/png') }
end
trait :with_path do