Commit de79cb022e6e0cdc7af22f78b74ec44ba2b4ca5a
1 parent
3c0d4c5c
Exists in
master
and in
29 other branches
ActionItem392: fixing test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2035 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
test/functional/account_controller_test.rb
... | ... | @@ -208,7 +208,8 @@ class AccountControllerTest < Test::Unit::TestCase |
208 | 208 | change = ChangePassword.new |
209 | 209 | ChangePassword.expects(:find_by_code).with('osidufgiashfkjsadfhkj99999').returns(change) |
210 | 210 | person = mock |
211 | - person.stubs(:name).returns('joe') | |
211 | + person.stubs(:identifier).returns('joe') | |
212 | + person.stubs(:name).returns('Joe') | |
212 | 213 | change.stubs(:requestor).returns(person) |
213 | 214 | |
214 | 215 | get :new_password, :code => 'osidufgiashfkjsadfhkj99999' | ... | ... |