mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 07:18:14 -05:00
Merge pull request #2144 from jm81/master
Use correct current_password in RegistrationTest of invalid confirmation
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user