diff test/functional/.svn/text-base/my_controller_test.rb.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children af80e5618e9b
line wrap: on
line diff
--- a/test/functional/.svn/text-base/my_controller_test.rb.svn-base	Fri Sep 24 14:06:04 2010 +0100
+++ b/test/functional/.svn/text-base/my_controller_test.rb.svn-base	Fri Nov 19 13:24:41 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