Use changeset factory for association in node factory
authorTom Hughes <tom@compton.nu>
Wed, 22 Mar 2017 20:31:25 +0000 (20:31 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 22 Mar 2017 20:31:25 +0000 (20:31 +0000)
test/factories/node.rb

index 697a5c1ae43a84915106b8d44d1dbc46c2fa6018..85eded4054ba42bebe350bae2186b413ed7224d0 100644 (file)
@@ -3,8 +3,7 @@ FactoryGirl.define do
     latitude 1 * GeoRecord::SCALE
     longitude 1 * GeoRecord::SCALE
 
-    # FIXME: needs changeset factory
-    changeset_id 1
+    changeset
 
     visible true
     timestamp Time.now