]> git.openstreetmap.org Git - rails.git/blob - test/factories/note_comments.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / note_comments.rb
1 FactoryBot.define do
2   factory :note_comment do
3     sequence(:body) { |n| "This is note comment #{n}" }
4     visible true
5     event "opened"
6     note
7   end
8 end