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