@@ -77,7 +77,7 class MyControllerTest < Test::Unit::TestCase | |||||
77 | :new_password => 'hello', |
|
77 | :new_password => 'hello', | |
78 | :new_password_confirmation => 'hello' |
|
78 | :new_password_confirmation => 'hello' | |
79 | assert_redirected_to 'my/account' |
|
79 | assert_redirected_to 'my/account' | |
80 |
assert_equal 'Wrong password', flash[: |
|
80 | assert_equal 'Wrong password', flash[:error] | |
81 |
|
81 | |||
82 | # good password |
|
82 | # good password | |
83 | post :change_password, :password => 'jsmith', |
|
83 | post :change_password, :password => 'jsmith', |
General Comments 0
You need to be logged in to leave comments.
Login now