Assign vandalism reports for users to moderators
[rails.git] / test / system / report_diary_comment_test.rb
index 5b66bce..18be7e6 100644 (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