address champ needs the data column

This commit is contained in:
simon lehericey 2021-05-19 15:59:18 +02:00
parent 2c97f123a1
commit 17617fba43
3 changed files with 18 additions and 1 deletions

View file

@ -193,6 +193,12 @@ FactoryBot.define do
end
end
trait :with_address do
after(:build) do |procedure, _evaluator|
build(:type_de_champ_address, procedure: procedure)
end
end
trait :with_explication do
after(:build) do |procedure, _evaluator|
build(:type_de_champ_explication, procedure: procedure)