]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_diary_entry_test.rb
Assign vandalism reports for users to moderators
[rails.git] / test / system / report_diary_entry_test.rb
index 1aac8ba70c57bd158f6ab8accf59ca3cab87cfe6..1db733ab7ca510e0bc38a63ed86efcca5349696a 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 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
   end
 
   def test_it_reopens_issue