]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/diary_comments.rb
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
[rails.git] / test / factories / diary_comments.rb
index 810bd2f7a0b8bf84c3aea4dd18dae80b644acd26..2d54f273e6f0e48f4326df324fadd03ffe05f24e 100644 (file)
@@ -3,8 +3,6 @@ FactoryGirl.define do
     sequence(:body) { |n| "This is diary comment #{n}" }
 
     diary_entry
-
-    # Fixme requires User Factory
-    user_id 1
+    user
   end
 end