Add header section in form table

This commit is contained in:
Mathieu Magnin 2017-07-11 16:50:29 +02:00
parent 7bb75c3f56
commit 2b0c0567b8
9 changed files with 94 additions and 10 deletions

View file

@ -1,5 +1,13 @@
FactoryGirl.define do
factory :champ do
type_de_champ { FactoryGirl.create(:type_de_champ_public) }
trait :checkbox do
type_de_champ { FactoryGirl.create(:type_de_champ_public, :checkbox) }
end
trait :header_section do
type_de_champ { FactoryGirl.create(:type_de_champ_public, :header_section) }
end
end
end