fixup! bug(type_de_champ.repetition): on repetition, when there is a TypeDeChamp::Commune, champs for export should contain 2 entries [one with commune (postal_code), the other for commune (code_insee)].

This commit is contained in:
Martin 2022-05-05 18:01:00 +02:00 committed by mfo
parent ba7a316f5e
commit 8a6c3bbec0

View file

@ -1459,7 +1459,7 @@ describe Dossier do
expect(repetition_second_revision_champs_for_export.first.size).to eq(2)
end
context 'within a repition having a type de champs commune (multiple values for export)' do
context 'within a repetition having a type de champs commune (multiple values for export)' do
it 'works' do
proc_test = create(:procedure, :with_repetition_commune)
dossier_test = create(:dossier, procedure: proc_test)