is the order important ?

This commit is contained in:
simon lehericey 2022-05-13 14:59:11 +02:00
parent ae86cdcf9e
commit 0b90f4d30d

View file

@ -403,7 +403,7 @@ describe ProcedureExportService do
let!(:another_champ_repetition) { create(:champ_repetition, type_de_champ: type_de_champ_repetition, dossier: dossier) }
it 'should have sheets' do
expect(subject.sheets.map(&:name)).to eq(['Dossiers', 'Etablissements', 'Avis', champ_repetition.libelle_for_export, another_champ_repetition.libelle_for_export])
expect(subject.sheets.map(&:name)).to eq(['Dossiers', 'Etablissements', 'Avis', another_champ_repetition.libelle_for_export, champ_repetition.libelle_for_export])
end
end
end