]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/node.rb
Use changeset factory for association in node factory
[rails.git] / 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