X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/44ac569d286ce1159f49b2cded184ff0cc4475f5..0195dd60a4172f4d972e51322867e7ae707afad0:/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)