X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b78bb9f6313f3139ac83784df52bf39a5619d3e7..7d95a576cd28c51ea60ec498713838adda7be06c:/test/factories/changesets.rb diff --git a/test/factories/changesets.rb b/test/factories/changesets.rb index f76b73126..01d357198 100644 --- a/test/factories/changesets.rb +++ b/test/factories/changesets.rb @@ -4,5 +4,10 @@ FactoryGirl.define do closed_at Time.now.utc + 1.day user + + trait :closed do + created_at Time.now.utc - 5.hours + closed_at Time.now.utc - 4.hours + end end end