X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..a41d500b9f65ec9f4e848effd38dc1ae117e7594:/test/factories/changesets.rb diff --git a/test/factories/changesets.rb b/test/factories/changesets.rb index f42242e78..d4ebdcee1 100644 --- a/test/factories/changesets.rb +++ b/test/factories/changesets.rb @@ -1,13 +1,13 @@ FactoryBot.define do factory :changeset do - created_at Time.now.utc - closed_at Time.now.utc + 1.day + created_at { Time.now.utc } + 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 + created_at { Time.now.utc - 5.hours } + closed_at { Time.now.utc - 4.hours } end end end