-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