specs: make build
and create
consistent in downloadable_file_spec
This commit is contained in:
parent
233f51e8ca
commit
02743365eb
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ describe ActiveStorage::DownloadableFile do
|
|||
|
||||
context 'when there is a repetition bloc' do
|
||||
before do
|
||||
dossier.champs << build(:champ_repetition_with_piece_jointe, dossier: dossier)
|
||||
dossier.champs << create(:champ_repetition_with_piece_jointe, dossier: dossier)
|
||||
end
|
||||
|
||||
it 'should have 4 piece_justificatives' do
|
||||
|
|
Loading…
Reference in a new issue