]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_note_test.rb
Use each_with_object
[rails.git] / test / system / report_note_test.rb
index 93e73cf5aaf7885f01063a8cd48ec91859748588..e45a4e702bbb1a1735e2a3c13e9324de560c6d52 100644 (file)
@@ -24,7 +24,7 @@ class ReportNoteTest < ApplicationSystemTestCase
       click_on "Create Report"
     end
 
       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
 
     assert_equal note, Issue.last.reportable
     assert_equal "moderator", Issue.last.assigned_role
@@ -45,7 +45,7 @@ class ReportNoteTest < ApplicationSystemTestCase
       click_on "Create Report"
     end
 
       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
 
     assert_equal note, Issue.last.reportable
     assert_equal "moderator", Issue.last.assigned_role