demarches-normaliennes/spec/factories/individual.rb

10 lines
187 B
Ruby
Raw Normal View History

2018-01-23 17:15:42 +01:00
FactoryBot.define do
2017-01-03 12:53:27 +01:00
factory :individual do
2018-09-04 16:46:48 +02:00
gender { 'M.' }
nom { 'Julien' }
prenom { 'Xavier' }
birthdate { Date.new(1991, 11, 01) }
association :dossier
2017-01-03 12:53:27 +01:00
end
end