]> git.openstreetmap.org Git - rails.git/blob - test/factories/diary_entries.rb
d00a97dc5389074dcf849b657aec0d0a1e60ba11
[rails.git] / test / factories / diary_entries.rb
1 FactoryGirl.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     # Fixme requires User Factory
7     user_id 1
8   end
9 end