X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..108984f04af55561898a6ae3dbb42cf0bef81674:/test/factories/old_way.rb 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