[Fix #3064] Add preview test
This commit is contained in:
parent
28f9208ce8
commit
c550d40e3a
2 changed files with 25 additions and 0 deletions
|
@ -41,6 +41,10 @@ FactoryBot.define do
|
|||
end
|
||||
end
|
||||
|
||||
trait :with_logo do
|
||||
logo { Rack::Test::UploadedFile.new("./spec/fixtures/files/logo_test_procedure.png", 'application/pdf') }
|
||||
end
|
||||
|
||||
trait :with_path do
|
||||
path { generate(:published_path) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue