X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/44ac569d286ce1159f49b2cded184ff0cc4475f5..e8af4b85bf001ade543d03a503c769055d42e6a2:/test/test_helper.rb diff --git a/test/test_helper.rb b/test/test_helper.rb index 7157abf5a..68749c0f7 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_on "Login", :match => :first + click_button "Login", :match => :first end def session_for(user)