X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b2fa94750221ec316eb6c5244ca66543f321538c..934d81aa551c791e0200f3be06b1e97de23c008e:/test/factories/old_node.rb?ds=sidebyside diff --git a/test/factories/old_node.rb b/test/factories/old_node.rb index 089363397..a2ca0a2ee 100644 --- a/test/factories/old_node.rb +++ b/test/factories/old_node.rb @@ -1,13 +1,13 @@ FactoryBot.define do factory :old_node do - latitude 1 * GeoRecord::SCALE - longitude 1 * GeoRecord::SCALE + latitude { 1 * GeoRecord::SCALE } + longitude { 1 * GeoRecord::SCALE } changeset association :current_node, :factory => :node - visible true - timestamp Time.now - version 1 + visible { true } + timestamp { Time.now.utc } + version { 1 } end end