Merge pull request #2144 from jm81/master

Use correct current_password in RegistrationTest of invalid confirmation
This commit is contained in:
José Valim
2012-11-15 10:56:49 -08:00

View File

@@ -203,7 +203,7 @@ class RegistrationTest < ActionController::IntegrationTest
fill_in 'password', :with => 'pas123'
fill_in 'password confirmation', :with => ''
fill_in 'current password', :with => '123456'
fill_in 'current password', :with => '12345678'
click_button 'Update'
assert_contain "Password doesn't match confirmation"