Make Faker generate unique TOS effective dates (#34122)
This commit is contained in:
@@ -5,5 +5,5 @@ Fabricator(:terms_of_service) do
|
|||||||
changelog { Faker::Lorem.paragraph }
|
changelog { Faker::Lorem.paragraph }
|
||||||
published_at { Time.zone.now }
|
published_at { Time.zone.now }
|
||||||
notification_sent_at { Time.zone.now }
|
notification_sent_at { Time.zone.now }
|
||||||
effective_date { Faker::Date.forward }
|
effective_date { Faker::Date.unique.forward }
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user