demarches-normaliennes/spec/factories/exercice.rb

9 lines
229 B
Ruby
Raw Normal View History

2018-01-23 17:15:42 +01:00
FactoryBot.define do
factory :exercice do
2018-09-04 16:46:48 +02:00
ca { '12345678' }
date_fin_exercice { "2014-12-30 23:00:00" }
date_fin_exercice_timestamp { 1419980400 }
association :etablissement, factory: [:etablissement]
end
end