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
|
@ -32,5 +32,6 @@ class ReportDiaryCommentTest < ApplicationSystemTestCase
|
|||
assert page.has_content? "Your report has been registered sucessfully"
|
||||
|
||||
assert_equal @comment, Issue.last.reportable
|
||||
assert_equal "administrator", Issue.last.assigned_role
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue