[Fix #2258] Validate options for linked dropdown menus
This commit is contained in:
parent
b521095010
commit
998754ab73
4 changed files with 82 additions and 6 deletions
|
@ -54,7 +54,7 @@ FactoryBot.define do
|
|||
end
|
||||
factory :type_de_champ_linked_drop_down_list do
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:linked_drop_down_list) }
|
||||
drop_down_list { create(:drop_down_list) }
|
||||
drop_down_list { create(:drop_down_list, value: "--primary--\nsecondary\n") }
|
||||
end
|
||||
factory :type_de_champ_pays do
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:pays) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue