]> git.openstreetmap.org Git - rails.git/blob - test/factories/diary_entries.rb
Merge branch 'pull/4935'
[rails.git] / test / factories / diary_entries.rb
1 FactoryBot.define do
2   factory :diary_entry do
3     sequence(:title) { |n| "Diary entry #{n}" }
4     sequence(:body) { |n| "This is diary entry #{n}" }
5
6     user
7   end
8 end