X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24d605f567f89024dc9cc1d09db836cc2af53007..a3cbb20bf8fcf0e59cd2e2cf6479099953dd4ba2:/test/system/user_logout_test.rb diff --git a/test/system/user_logout_test.rb b/test/system/user_logout_test.rb index a097b6374..2f5331711 100644 --- a/test/system/user_logout_test.rb +++ b/test/system/user_logout_test.rb @@ -30,7 +30,7 @@ class UserLogoutTest < ApplicationSystemTestCase visit logout_path assert_content "Logout from OpenStreetMap" - click_button "Logout" + click_on "Logout" assert_content "Log In" end @@ -41,7 +41,7 @@ class UserLogoutTest < ApplicationSystemTestCase visit logout_path(:referer => "/traces") assert_content "Logout from OpenStreetMap" - click_button "Logout" + click_on "Logout" assert_content "Log In" assert_content "Public GPS Traces" end