X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..fb6042e35c10da70c030b5544a14c38577f0413c:/test/factories/old_way.rb diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index 4fc0721d7..b91bf8bf5 100644 --- a/test/factories/old_way.rb +++ b/test/factories/old_way.rb @@ -1,10 +1,10 @@ FactoryBot.define do factory :old_way do - timestamp { Time.now } + timestamp { Time.now.utc } visible { true } version { 1 } changeset - association :current_way, :factory => :way + current_way :factory => :way end end