dossier: add page for etablissement
This commit is contained in:
parent
310f4b92d1
commit
93f1a53dfc
9 changed files with 229 additions and 0 deletions
|
@ -23,6 +23,12 @@ FactoryBot.define do
|
|||
entreprise_siret_siege_social { '44011762001530' }
|
||||
entreprise_code_effectif_entreprise { '51' }
|
||||
entreprise_date_creation { "1990-04-24" }
|
||||
|
||||
trait :with_exercices do
|
||||
after(:create) do |etablissement, _evaluator|
|
||||
create(:exercice, etablissement: etablissement)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
trait :is_association do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue