Mercurial > hg > soundsoftware-site
diff test/functional/my_controller_test.rb @ 51:371eac10df0b live
* Merge from "cannam" branch. This includes update to Redmine trunk, plus welcome/tip-of-the-day from luisf branch.
author | Chris Cannam |
---|---|
date | Wed, 24 Nov 2010 12:20:08 +0000 |
parents | 94944d00e43c |
children | af80e5618e9b |
line wrap: on
line diff
--- a/test/functional/my_controller_test.rb Thu Oct 21 11:19:14 2010 +0100 +++ b/test/functional/my_controller_test.rb Wed Nov 24 12:20:08 2010 +0000 @@ -68,7 +68,7 @@ :login => "root", :admin => 1, :custom_field_values => {"4" => "0100562500"}} - assert_redirected_to 'my/account' + assert_redirected_to '/my/account' user = User.find(2) assert_equal user, assigns(:user) assert_equal "Joe", user.firstname @@ -102,7 +102,7 @@ post :password, :password => 'jsmith', :new_password => 'hello', :new_password_confirmation => 'hello' - assert_redirected_to 'my/account' + assert_redirected_to '/my/account' assert User.try_to_login('jsmith', 'hello') end