]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/changeset_comments.rb
Add some tests for the user helper
[rails.git] / test / factories / changeset_comments.rb
index 5fb2621843ee0925cceee004fd496f07768e9cea..04644580fd30eda3d43446e4f48707e885fe28a0 100644 (file)
@@ -3,10 +3,8 @@ FactoryGirl.define do
     sequence(:body) { |n| "Changeset comment #{n}" }
     visible true
 
-    # FIXME: needs changeset factory
-    changeset_id 3
+    changeset
 
-    # FIXME: needs user factory
-    author_id 1
+    association :author, :factory => :user
   end
 end