]> git.openstreetmap.org Git - rails.git/blob - test/factories/changeset_comments.rb
Add with_home_location trait for user factories.
[rails.git] / test / factories / changeset_comments.rb
1 FactoryGirl.define do
2   factory :changeset_comment do
3     sequence(:body) { |n| "Changeset comment #{n}" }
4     visible true
5
6     # FIXME: needs changeset factory
7     changeset_id 3
8
9     # FIXME: needs user factory
10     author_id 1
11   end
12 end