X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/91a4fd6b5ab7a077211a7608248b3878f226d405..4390c42847a43b1d5a501206126d39d9a191b682:/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)