From de79cb022e6e0cdc7af22f78b74ec44ba2b4ca5a Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 17 Jun 2008 16:27:53 +0000 Subject: [PATCH] ActionItem392: fixing test --- test/functional/account_controller_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index d9f910f..c6a3ff1 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -208,7 +208,8 @@ class AccountControllerTest < Test::Unit::TestCase change = ChangePassword.new ChangePassword.expects(:find_by_code).with('osidufgiashfkjsadfhkj99999').returns(change) person = mock - person.stubs(:name).returns('joe') + person.stubs(:identifier).returns('joe') + person.stubs(:name).returns('Joe') change.stubs(:requestor).returns(person) get :new_password, :code => 'osidufgiashfkjsadfhkj99999' -- libgit2 0.21.2