demarches-normaliennes/spec/factories/etablissement.rb
Tanguy PATTE 3c57643f76 add database cleaner
add factory girl
fix tests
rename dossier_pdf into piece_jointe
rename ref_piece_jointe into content
2015-08-13 15:56:58 +02:00

16 lines
No EOL
445 B
Ruby

FactoryGirl.define do
factory :etablissement do
siret '44011762001530'
siege_social true
naf '4950Z'
libelle_naf 'Transports par conduites'
adresse "GRTGAZ\r IMMEUBLE BORA\r 6 RUE RAOUL NORDLING\r 92270 BOIS COLOMBES\r"
numero_voie '6'
type_voie 'RUE'
nom_voie 'RAOUL NORDLING'
complement_adresse 'IMMEUBLE BORA'
code_postal '92270'
localite 'BOIS COLOMBES'
code_insee_localite '92009'
end
end