X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0071025400589cdf0320466609bdbb6ed27e1fb4..ab5616f35422c01035636064b788dc2e18bb98c0:/test/system/report_note_test.rb?ds=sidebyside diff --git a/test/system/report_note_test.rb b/test/system/report_note_test.rb index 24deac2cb..93e73cf5a 100644 --- a/test/system/report_note_test.rb +++ b/test/system/report_note_test.rb @@ -27,6 +27,7 @@ class ReportNoteTest < ApplicationSystemTestCase assert page.has_content? "Your report has been registered sucessfully" assert_equal note, Issue.last.reportable + assert_equal "moderator", Issue.last.assigned_role end def test_can_report_notes_with_author @@ -47,5 +48,6 @@ class ReportNoteTest < ApplicationSystemTestCase assert page.has_content? "Your report has been registered sucessfully" assert_equal note, Issue.last.reportable + assert_equal "moderator", Issue.last.assigned_role end end