]> git.openstreetmap.org Git - rails.git/blob - test/factories/diary_comments.rb
Merge pull request #4587 from AntonKhorev/changeset-comment-routes
[rails.git] / test / factories / diary_comments.rb
1 FactoryBot.define do
2   factory :diary_comment do
3     sequence(:body) { |n| "This is diary comment #{n}" }
4
5     diary_entry
6     user
7   end
8 end