summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/functional/my_controller_test.rb2
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',