Redirect to pdf attachement old name if not attached
This commit is contained in:
parent
0201a501c6
commit
347f03d2a9
6 changed files with 23 additions and 32 deletions
|
@ -4,7 +4,7 @@ FactoryBot.define do
|
|||
dossier { create(:dossier) }
|
||||
end
|
||||
|
||||
trait :with_legacy_pdf do
|
||||
trait :with_pdf do
|
||||
pdf { Rack::Test::UploadedFile.new("./spec/fixtures/files/dossierPDF.pdf", 'application/pdf') }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue