Assign vandalism reports for users to moderators
[rails.git] / test / system / report_diary_entry_test.rb
index 1aac8ba..1db733a 100644 (file)
@@ -31,6 +31,7 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
     assert page.has_content? "Your report has been registered sucessfully"
 
     assert_equal @diary_entry, Issue.last.reportable
+    assert_equal "administrator", Issue.last.assigned_role
   end
 
   def test_it_reopens_issue