Assign vandalism reports for users to moderators
This commit is contained in:
parent
6c225bd01c
commit
e5604ce98e
10 changed files with 76 additions and 69 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue