##// END OF EJS Templates
Fixed my_controller_test.rb (errors are now in flash[:error])...
Jean-Philippe Lang -
r603:5bd26ede4200
parent child
Show More
@@ -77,7 +77,7 class MyControllerTest < Test::Unit::TestCase
77 :new_password => 'hello',
77 :new_password => 'hello',
78 :new_password_confirmation => 'hello'
78 :new_password_confirmation => 'hello'
79 assert_redirected_to 'my/account'
79 assert_redirected_to 'my/account'
80 assert_equal 'Wrong password', flash[:notice]
80 assert_equal 'Wrong password', flash[:error]
81
81
82 # good password
82 # good password
83 post :change_password, :password => 'jsmith',
83 post :change_password, :password => 'jsmith',
General Comments 0
You need to be logged in to leave comments. Login now