]> git.openstreetmap.org Git - rails.git/blob - test/factories/changeset_comments.rb
Create a node factory, and use it for most node model tests
[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     association :author, :factory => :user
10   end
11 end