refactor(dossier): rebase should not change champ type

This commit is contained in:
Paul Chavard 2024-11-06 22:30:31 +01:00
parent 81eeff2474
commit 942fc42af2
No known key found for this signature in database
20 changed files with 112 additions and 105 deletions

View file

@ -77,6 +77,7 @@ describe PiecesJustificativesService do
expect(export_template).to receive(:attachment_path)
.with(dossier, second_child_attachments.first, index: 0, row_index: 1, champ: second_champ)
DossierPreloader.new(dossiers).all
count = 0
callback = lambda { |*_args| count += 1 }
@ -84,7 +85,7 @@ describe PiecesJustificativesService do
subject
end
expect(count).to eq(10)
expect(count).to eq(0)
end
end
end