Fixed my_controller_test.rb (errors are now in flash[:error])

git-svn-id: http://redmine.rubyforge.org/svn/trunk@606 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-08-12 10:04:44 +00:00
parent 3c8e7c79b6
commit 5bd26ede42
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class MyControllerTest < Test::Unit::TestCase
:new_password => 'hello',
:new_password_confirmation => 'hello'
assert_redirected_to 'my/account'
assert_equal 'Wrong password', flash[:notice]
assert_equal 'Wrong password', flash[:error]
# good password
post :change_password, :password => 'jsmith',