]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/changeset_comments.rb
User factory associations for all factories.
[rails.git] / test / factories / changeset_comments.rb
index 5fb2621843ee0925cceee004fd496f07768e9cea..d12c1b653c391f2c8d94ccd597ad38d27ae7980e 100644 (file)
@@ -6,7 +6,6 @@ FactoryGirl.define do
     # FIXME: needs changeset factory
     changeset_id 3
 
-    # FIXME: needs user factory
-    author_id 1
+    association :author, :factory => :user
   end
 end