]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_diary_comment_test.rb
Assign vandalism reports for users to moderators
[rails.git] / test / system / report_diary_comment_test.rb
index 5b66bcee71f6422ce93b027c233689a130f86054..18be7e649103743a2ffa540b3e72d6db6e573455 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