X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0071025400589cdf0320466609bdbb6ed27e1fb4..9dd82c96dd68071f2ca8bbbb762d2dcd5bc75413:/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..e45a4e702 100644 --- a/test/system/report_note_test.rb +++ b/test/system/report_note_test.rb @@ -24,9 +24,10 @@ class ReportNoteTest < ApplicationSystemTestCase click_on "Create Report" end - assert page.has_content? "Your report has been registered sucessfully" + assert page.has_content? "Your report has been registered successfully" assert_equal note, Issue.last.reportable + assert_equal "moderator", Issue.last.assigned_role end def test_can_report_notes_with_author @@ -44,8 +45,9 @@ class ReportNoteTest < ApplicationSystemTestCase click_on "Create Report" end - assert page.has_content? "Your report has been registered sucessfully" + assert page.has_content? "Your report has been registered successfully" assert_equal note, Issue.last.reportable + assert_equal "moderator", Issue.last.assigned_role end end