Allow prefill pays type de champs (#8344)

* Allow prefill pays type de champs

* Avoid conditional prefil params for pays champ

* Clean pays data with batch update

* Fix bug and add test batch update pays value

* Improve performance batch_update_pays

* Fix associated country code problem

* Fix after party task name

* Format country name if needed in batch update
This commit is contained in:
Damien Le Thiec 2023-01-18 12:52:38 +01:00 committed by GitHub
parent eea2912ae5
commit 3a8a50a216
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 203 additions and 34 deletions

View file

@ -215,7 +215,7 @@ describe DossierProjectionService do
dossier.champs_public.first.update(value: "qu'il est beau mon pays")
end
it { is_expected.to eq("qu'il est beau mon pays") }
it { is_expected.to eq("") }
end
end
end