Assign vandalism reports for users to moderators

This commit is contained in:
Tom Hughes 2018-06-17 11:14:19 +01:00
parent 6c225bd01c
commit e5604ce98e
10 changed files with 76 additions and 69 deletions

View 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