X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0071025400589cdf0320466609bdbb6ed27e1fb4..7377cb63939f8743ca31e67ea3965c2b15d20057:/test/system/report_note_test.rb 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