X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a0899d1b0b266abdd61d54bd3867ae9f7f816fcb..1b181d4c1d595116dbe7fb8c1f5762d4a0d9f3f6:/test/factories/old_node.rb diff --git a/test/factories/old_node.rb b/test/factories/old_node.rb index ecf096eca..089363397 100644 --- a/test/factories/old_node.rb +++ b/test/factories/old_node.rb @@ -1,13 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :old_node do latitude 1 * GeoRecord::SCALE longitude 1 * GeoRecord::SCALE - # FIXME: needs changeset factory - changeset_id 1 - - # FIXME: needs node factory - node_id 1000 + changeset + association :current_node, :factory => :node visible true timestamp Time.now