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

@ -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