X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..b14342b6f10b2d9b2739744cad8ee60cbf67edbd:/test/factories/old_way.rb?ds=sidebyside 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