]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Merge pull request #4201 from AntonKhorev/issues-limit-settings
[rails.git] / test / test_helper.rb
index 7157abf5a71ed0ef153b70c50c3436a6b99c00c2..68749c0f70f595e00b322b21acee0215b7d46b51 100644 (file)
@@ -245,7 +245,7 @@ module ActiveSupport
       visit login_path
       fill_in "username", :with => user.email
       fill_in "password", :with => "test"
       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)
     end
 
     def session_for(user)