]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/user_logout_test.rb
Trace import: validate background job results
[rails.git] / test / system / user_logout_test.rb
index a097b63747a1281f82ee7e1b658580bbad7c42e9..2f5331711eaa40daa8a331aac883eeed7572af87 100644 (file)
@@ -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