Merge pull request #9648 from demarches-simplifiees/add-rnf-service

Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
This commit is contained in:
Eric Leroy-Terquem 2023-11-08 09:06:47 +00:00 committed by GitHub
commit 0968f02a26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 378 additions and 14 deletions

View file

@ -242,6 +242,10 @@ FactoryBot.define do
type_de_champ { association :type_de_champ_cojo, procedure: dossier.procedure }
end
factory :champ_rnf, class: 'Champs::RNFChamp' do
type_de_champ { association :type_de_champ_rnf, procedure: dossier.procedure }
end
factory :champ_expression_reguliere, class: 'Champs::ExpressionReguliereChamp' do
type_de_champ { association :type_de_champ_expression_reguliere, procedure: dossier.procedure }
end

View file

@ -187,6 +187,9 @@ FactoryBot.define do
factory :type_de_champ_cojo do
type_champ { TypeDeChamp.type_champs.fetch(:cojo) }
end
factory :type_de_champ_rnf do
type_champ { TypeDeChamp.type_champs.fetch(:rnf) }
end
factory :type_de_champ_repetition do
type_champ { TypeDeChamp.type_champs.fetch(:repetition) }