Add test to ensure no titre identite is exported
This commit is contained in:
parent
a2e87cbb56
commit
1159494d37
2 changed files with 28 additions and 0 deletions
|
@ -170,6 +170,12 @@ FactoryBot.define do
|
|||
end
|
||||
end
|
||||
|
||||
trait :with_titre_identite do
|
||||
after(:build) do |procedure, _evaluator|
|
||||
build(:type_de_champ_titre_identite, procedure: procedure)
|
||||
end
|
||||
end
|
||||
|
||||
trait :with_repetition do
|
||||
after(:build) do |procedure, _evaluator|
|
||||
build(:type_de_champ_repetition, :with_types_de_champ, procedure: procedure)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue