chore(schema): create dossier_corrections
This commit is contained in:
parent
5d245fee7d
commit
2c79ca94f5
8 changed files with 68 additions and 0 deletions
11
spec/factories/dossier_resolutions.rb
Normal file
11
spec/factories/dossier_resolutions.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
FactoryBot.define do
|
||||
factory :dossier_resolution do
|
||||
dossier
|
||||
commentaire
|
||||
resolved_at { nil }
|
||||
|
||||
trait :resolved do
|
||||
resolved_at { Time.zone.now }
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue