summaryrefslogtreecommitdiffstats
path: root/test/functional/my_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/my_controller_test.rb')
-rw-r--r--test/functional/my_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb
index 877095dfb..3fefa0675 100644
--- a/test/functional/my_controller_test.rb
+++ b/test/functional/my_controller_test.rb
@@ -68,7 +68,7 @@ class MyControllerTest < ActionController::TestCase
: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 @@ class MyControllerTest < ActionController::TestCase
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