[fix #850] Use UUID as a uniq identifier for the attestation

This commit is contained in:
Simon Lehericey 2017-10-18 14:29:12 +02:00
parent c298a048c0
commit ea2827134e
4 changed files with 21 additions and 5 deletions

View file

@ -142,7 +142,7 @@ describe AttestationTemplate, type: :model do
it 'provides a pseudo file' do
expect(attestation.pdf.file).to exist
expect(attestation.pdf.filename).to eq('attestation')
expect(attestation.pdf.filename).to start_with('attestation')
end
context 'when the dossier and the procedure has an individual' do