X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..c9a86866bb6f2d0b41604078a0f05aadc5633f46:/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