]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/diary_entries.rb
Merge remote-tracking branch 'upstream/pull/1580'
[rails.git] / test / factories / diary_entries.rb
index d00a97dc5389074dcf849b657aec0d0a1e60ba11..666a37ee8e6247c5d8dea8152a9e626a606760d8 100644 (file)
@@ -3,7 +3,6 @@ FactoryGirl.define do
     sequence(:title) { |n| "Diary entry #{n}" }
     sequence(:body) { |n| "This is diary entry #{n}" }
 
-    # Fixme requires User Factory
-    user_id 1
+    user
   end
 end