]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/reports.rb
Assign proper sequence numbers to relation members in tests
[rails.git] / test / factories / reports.rb
index 3945bfd3c89a85069355c27f4bd5e2956d2d3287..084c2d1ac891951c1b22f11b5ec3c599fb9fd62c 100644 (file)
@@ -1,6 +1,7 @@
 FactoryBot.define do
   factory :report do
     sequence(:details) { |n| "Report details #{n}" }
+    category { "other" }
     issue
     user
   end