Add iban type de champ
This commit is contained in:
parent
a7e4720d0d
commit
cb4e91c405
15 changed files with 72 additions and 1 deletions
|
@ -155,6 +155,10 @@ FactoryBot.define do
|
|||
type_de_champ { association :type_de_champ_carte, procedure: dossier.procedure }
|
||||
end
|
||||
|
||||
factory :champ_iban, class: 'Champs::IbanChamp' do
|
||||
type_de_champ { association :type_de_champ_iban, procedure: dossier.procedure }
|
||||
end
|
||||
|
||||
factory :champ_siret, class: 'Champs::SiretChamp' do
|
||||
association :type_de_champ, factory: [:type_de_champ_siret]
|
||||
association :etablissement, factory: [:etablissement]
|
||||
|
|
|
@ -139,6 +139,9 @@ FactoryBot.define do
|
|||
factory :type_de_champ_siret do
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:siret) }
|
||||
end
|
||||
factory :type_de_champ_iban do
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:iban) }
|
||||
end
|
||||
factory :type_de_champ_carte do
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:carte) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue