]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/diary_comments.rb
It's to_sym not to_symbol
[rails.git] / test / factories / diary_comments.rb
index 810bd2f7a0b8bf84c3aea4dd18dae80b644acd26..cb5f8eebd2570fb825c3dff010a7169f60d294b5 100644 (file)
@@ -1,10 +1,8 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :diary_comment do
     sequence(:body) { |n| "This is diary comment #{n}" }
 
     diary_entry
-
-    # Fixme requires User Factory
-    user_id 1
+    user
   end
 end