demarches-normaliennes/spec/factories/dossier_corrections.rb

12 lines
209 B
Ruby

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