]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Merge pull request #4487 from AntonKhorev/no-export-translations
[rails.git] / test / test_helper.rb
index 19e1a2784611fa219af508a181909c7ead6f320c..9d06d23534f8cdcb9ea297aa4bd1cf048263a6f6 100644 (file)
@@ -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)