X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/942e62117ff7f12d40618a94ea3f4e86f8cb25af..84ff3ed43acb29f332b2811b887007981a055e35:/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