]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/reports.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / reports.rb
index 3945bfd3c89a85069355c27f4bd5e2956d2d3287..7936d46b2d3f4b619a75e9e6437e4d1c878154b3 100644 (file)
@@ -1,6 +1,7 @@
 FactoryBot.define do
   factory :report do
     sequence(:details) { |n| "Report details #{n}" }
+    category "other"
     issue
     user
   end