X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56752ac02ae1b99a5bcf36bfe390bf5d98ce2ab8..ee53b7a298e75ac4c75866d6edea0a2611bdb663:/test/factories/changesets.rb?ds=sidebyside 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