Remove entreprise and rna_information models
This commit is contained in:
parent
81179ceba9
commit
ad24fd5991
15 changed files with 75 additions and 123 deletions
|
@ -14,8 +14,6 @@ FactoryBot.define do
|
|||
trait :with_entreprise do
|
||||
after(:build) do |dossier, _evaluator|
|
||||
etablissement = create(:etablissement)
|
||||
entreprise = create(:entreprise, etablissement: etablissement)
|
||||
dossier.entreprise = entreprise
|
||||
dossier.etablissement = etablissement
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
FactoryBot.define do
|
||||
factory :entreprise do
|
||||
siren '440117620'
|
||||
capital_social 537_100_000
|
||||
numero_tva_intracommunautaire 'FR27440117620'
|
||||
forme_juridique 'SA à conseil d\'administration (s.a.i.)'
|
||||
forme_juridique_code '5599'
|
||||
nom_commercial 'GRTGAZ'
|
||||
raison_sociale 'GRTGAZ'
|
||||
siret_siege_social '44011762001530'
|
||||
code_effectif_entreprise '51'
|
||||
date_creation Time.at(1453976189).to_datetime
|
||||
end
|
||||
end
|
|
@ -1,11 +0,0 @@
|
|||
FactoryBot.define do
|
||||
factory :rna_information do
|
||||
association_id "W072000535"
|
||||
titre "ASSOCIATION POUR LA PROMOTION DE SPECTACLES AU CHATEAU DE ROCHEMAURE"
|
||||
objet "mise en oeuvre et réalisation de spectacles au chateau de rochemaure"
|
||||
date_creation "1990-04-24"
|
||||
date_declaration "2014-11-28"
|
||||
date_publication "1990-05-16"
|
||||
association :entreprise, factory: [:entreprise]
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue