From 5bd26ede420090c7cb3744518a2fc0f1547f94cb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 12 Aug 2007 10:04:44 +0000 Subject: [PATCH] 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 --- test/functional/my_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',