]> git.openstreetmap.org Git - rails.git/blob - test/factories/changeset_comments.rb
Put the resourceful routing at the top of the list, for clarity
[rails.git] / test / factories / changeset_comments.rb
1 FactoryBot.define do
2   factory :changeset_comment do
3     sequence(:body) { |n| "Changeset comment #{n}" }
4     visible { true }
5
6     changeset
7
8     association :author, :factory => :user
9   end
10 end