]> git.openstreetmap.org Git - rails.git/blob - test/factories/diary_comments.rb
Move attach_project_logo to be its own before_action filter, as suggested
[rails.git] / test / factories / diary_comments.rb
1 FactoryGirl.define do
2   factory :diary_comment do
3     sequence(:body) { |n| "This is diary comment #{n}" }
4
5     diary_entry
6
7     # Fixme requires User Factory
8     user_id 1
9   end
10 end