X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b3f328ae4427ba0d1e3700ceabf7d0870f78dbd..49ba5ab6d2e98221246635327eb15dc71c97e67d:/test/factories/diary_entries.rb?ds=sidebyside diff --git a/test/factories/diary_entries.rb b/test/factories/diary_entries.rb index d00a97dc5..4319f2a63 100644 --- a/test/factories/diary_entries.rb +++ b/test/factories/diary_entries.rb @@ -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