X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/13aead560185c3ec580b4cae70752a3afed7bb93..39e66c69b75a99c42aab3267bee0f23f938fad3a:/test/test_helper.rb?ds=inline 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)