]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/diary_entries.rb
Update to iD v2.30.3
[rails.git] / test / factories / diary_entries.rb
index d00a97dc5389074dcf849b657aec0d0a1e60ba11..4319f2a633ed46188e0d10e8802c6f1cdf3427e3 100644 (file)
@@ -1,9 +1,8 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :diary_entry 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