Fix and test migrate_procedure_logo task
This commit is contained in:
parent
5cc3a9eb60
commit
d02e0fc556
4 changed files with 70 additions and 5 deletions
|
@ -46,6 +46,10 @@ FactoryBot.define do
|
|||
logo_active_storage { Rack::Test::UploadedFile.new("./spec/fixtures/files/logo_test_procedure.png", 'image/png') }
|
||||
end
|
||||
|
||||
trait :with_legacy_logo do
|
||||
logo { Rack::Test::UploadedFile.new("./spec/fixtures/files/logo_test_procedure.png", 'image/png') }
|
||||
end
|
||||
|
||||
trait :with_path do
|
||||
path { generate(:published_path) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue