Commit 5bd26ede authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent 3c8e7c79
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment