X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0071025400589cdf0320466609bdbb6ed27e1fb4..d5d92e60564dcd322a736c4bd3ddf831631d9c0e:/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