X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..88ff81b694a238fa6b4a75612c45e75eb5241e89:/test/factories/diary_comments.rb?ds=sidebyside diff --git a/test/factories/diary_comments.rb b/test/factories/diary_comments.rb index 810bd2f7a..cb5f8eebd 100644 --- a/test/factories/diary_comments.rb +++ b/test/factories/diary_comments.rb @@ -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