Revert "Revert "Merge pull request #4552 from tchak/champ-communes""

This reverts commit 4373cb22cb.
This commit is contained in:
Paul Chavard 2020-01-14 18:46:07 +01:00
parent 8dd2ecfd2c
commit 14295db9ad
63 changed files with 260 additions and 1119 deletions

View file

@ -124,6 +124,11 @@ FactoryBot.define do
value { '971 - Guadeloupe' }
end
factory :champ_communes, class: 'Champs::CommuneChamp' do
type_de_champ { create(:type_de_champ_communes) }
value { 'Paris' }
end
factory :champ_engagement, class: 'Champs::EngagementChamp' do
type_de_champ { create(:type_de_champ_engagement) }
value { 'true' }