X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f73b7205f42ac690ee659f4a92d86a56138a7ea2..d5efa4c357c1f39181f9af96024eaacbb6bd328b:/test/system/messages_test.rb diff --git a/test/system/messages_test.rb b/test/system/messages_test.rb index 60011e4d6..dea0d2208 100644 --- a/test/system/messages_test.rb +++ b/test/system/messages_test.rb @@ -9,7 +9,7 @@ class MessagesTest < ApplicationSystemTestCase visit inbox_messages_path assert_text "You have 1 new message and 0 old messages" - click_button "Delete" + click_on "Delete" assert_text "You have 0 new messages and 0 old messages" end @@ -21,7 +21,7 @@ class MessagesTest < ApplicationSystemTestCase visit outbox_messages_path assert_text "You have 1 sent message" - click_button "Delete" + click_on "Delete" assert_text "You have 0 sent messages" end @@ -35,7 +35,7 @@ class MessagesTest < ApplicationSystemTestCase visit muted_messages_path assert_text "1 muted message" - click_button "Delete" + click_on "Delete" assert_text "0 muted messages" end end