Add champ communes

This commit is contained in:
Paul Chavard 2019-12-18 17:08:42 +01:00
parent 22aa2d4ee0
commit 4bbd16576b
9 changed files with 26 additions and 0 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' }