diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-12 10:04:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-08-12 10:04:44 +0000 |
commit | 5bd26ede420090c7cb3744518a2fc0f1547f94cb (patch) | |
tree | 2d1656ee406dac809ae33b31b9ea24823eee60ee | |
parent | 3c8e7c79b639d32ecd6c8cb81b20fce00a6e722d (diff) | |
download | redmine-5bd26ede420090c7cb3744518a2fc0f1547f94cb.tar.gz redmine-5bd26ede420090c7cb3744518a2fc0f1547f94cb.zip |
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
-rw-r--r-- | test/functional/my_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb index 5b714a628..a53991a26 100644 --- a/test/functional/my_controller_test.rb +++ b/test/functional/my_controller_test.rb @@ -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', |