X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5fdddf2a8a98362ee646fb9cd22fadeaea185b46..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)