X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c7a4705c904935fe42658daafa0aa5175132cdd6..75a4d406b9e8471c0fe0ebf2a47d47f0ae36289a:/test/test_helper.rb diff --git a/test/test_helper.rb b/test/test_helper.rb index 19e1a2784..9d06d2353 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -245,7 +245,7 @@ module ActiveSupport visit login_path fill_in "username", :with => user.email fill_in "password", :with => "test" - click_button "Login", :match => :first + click_on "Login", :match => :first end def session_for(user)