]> 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 7c0076677d90c20699ffc3d957299cbf2f1f66a9..084c2d1ac891951c1b22f11b5ec3c599fb9fd62c 100644 (file)
@@ -1,6 +1,7 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :report do
     sequence(:details) { |n| "Report details #{n}" }
+    category { "other" }
     issue
     user
   end