demarches-normaliennes/spec/factories/exercice.rb
2018-02-27 16:22:53 +01:00

8 lines
217 B
Ruby

FactoryBot.define do
factory :exercice do
ca '12345678'
date_fin_exercice "2014-12-30 23:00:00"
date_fin_exercice_timestamp 1419980400
association :etablissement, factory: [:etablissement]
end
end