X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6c225bd01c53ad4cc3429e05c7bb71da3b0a4b7b..e5604ce98e267cb0cec7dd27078a9e86c919eeb1:/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