2023-02-28 15:06:39 +01:00
|
|
|
FactoryBot.define do
|
2023-04-03 17:05:54 +02:00
|
|
|
factory :dossier_correction do
|
2023-02-28 15:06:39 +01:00
|
|
|
dossier
|
|
|
|
commentaire
|
2023-06-21 11:20:16 +02:00
|
|
|
kind { :correction }
|
2023-02-28 15:06:39 +01:00
|
|
|
resolved_at { nil }
|
|
|
|
|
|
|
|
trait :resolved do
|
|
|
|
resolved_at { Time.zone.now }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|