]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/issues.rb
Merge remote-tracking branch 'upstream/pull/2087'
[rails.git] / test / factories / issues.rb
index 913c47f2af941ff6955d92769ac48f619ffa0c46..c575c3398e3fe16108329098316eb2430cb822d4 100644 (file)
@@ -3,5 +3,8 @@ FactoryBot.define do
     # Default to reporting users
     association :reportable, :factory => :user
     association :reported_user, :factory => :user
+
+    # Default to assigning to an administrator
+    assigned_role { "administrator" }
   end
 end