diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb index 5b714a62..a53991a2 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',