Clean exports tests

This commit is contained in:
Damien Le Thiec 2022-09-21 15:56:01 +02:00
parent 2141dd501e
commit 2791871c9a
2 changed files with 5 additions and 2 deletions

View file

@ -14,9 +14,9 @@ describe '20220705164551_remove_unused_champs' do
describe 'remove_unused_champs' do
it "with bad champs" do
expect(Champ.where(dossier: dossier).count).to eq(39)
expect(Champ.where(dossier: dossier).count).to eq(40)
run_task
expect(Champ.where(dossier: dossier).count).to eq(38)
expect(Champ.where(dossier: dossier).count).to eq(39)
end
end
end

View file

@ -74,6 +74,7 @@ describe ProcedureExportService do
"dossier_link",
"piece_justificative",
"siret",
"rna",
"carte",
"titre_identite",
"iban",
@ -166,6 +167,7 @@ describe ProcedureExportService do
"dossier_link",
"piece_justificative",
"siret",
"rna",
"carte",
"titre_identite",
"iban",
@ -253,6 +255,7 @@ describe ProcedureExportService do
"dossier_link",
"piece_justificative",
"siret",
"rna",
"carte",
"titre_identite",
"iban",