]> git.openstreetmap.org Git - rails.git/blob - test/factories/reports.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / reports.rb
1 FactoryBot.define do
2   factory :report do
3     sequence(:details) { |n| "Report details #{n}" }
4     category "other"
5     issue
6     user
7   end
8 end