X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6e5240e1987a429e29d230e811af9176772a8228..8a42bc2eff8563d206615cb8810ad87e9e6e5be2:/test/factories/old_node.rb diff --git a/test/factories/old_node.rb b/test/factories/old_node.rb index 3eda91a53..e129b62f7 100644 --- a/test/factories/old_node.rb +++ b/test/factories/old_node.rb @@ -1,13 +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 association :current_node, :factory => :node - visible true - timestamp Time.now - version 1 + visible { true } + timestamp { Time.now } + version { 1 } end end