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