X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b78bb9f6313f3139ac83784df52bf39a5619d3e7..ed74bc036b3203bb14c3fbb986c077f2958d004d:/test/factories/old_node.rb diff --git a/test/factories/old_node.rb b/test/factories/old_node.rb index 403ffc0ea..985093fad 100644 --- a/test/factories/old_node.rb +++ b/test/factories/old_node.rb @@ -1,15 +1,13 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_node do - latitude 1 * GeoRecord::SCALE - longitude 1 * GeoRecord::SCALE + latitude { 1 * GeoRecord::SCALE } + longitude { 1 * GeoRecord::SCALE } changeset + current_node :factory => :node - # FIXME: needs node factory - node_id 1000 - - visible true - timestamp Time.now - version 1 + visible { true } + timestamp { Time.now.utc } + version { 1 } end end