X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..08459a096ef64812a1a11f502811a809f1cde6c5:/test/factories/changesets.rb?ds=sidebyside diff --git a/test/factories/changesets.rb b/test/factories/changesets.rb index 01d357198..d4ebdcee1 100644 --- a/test/factories/changesets.rb +++ b/test/factories/changesets.rb @@ -1,13 +1,13 @@ -FactoryGirl.define do +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