X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..72d61f29240aa54e6b1aa63912ea6d1c290209fc:/test/factories/old_way.rb?ds=sidebyside diff --git a/test/factories/old_way.rb b/test/factories/old_way.rb index a57ccb713..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 - visible true - version 1 + timestamp { Time.now.utc } + visible { true } + version { 1 } changeset - association :current_way, :factory => :way + current_way :factory => :way end end