demarches-normaliennes/spec/factories/dossier_corrections.rb

11 lines
184 B
Ruby

FactoryBot.define do
factory :dossier_correction do
dossier
commentaire
resolved_at { nil }
trait :resolved do
resolved_at { Time.zone.now }
end
end
end