mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Update FacebookHandler test
This commit is contained in:
parent
5ae6875260
commit
cba6a5a7b5
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ describe 'lib/FacebookHandler.coffee', ->
|
|||
expect(FB.api).toHaveBeenCalled()
|
||||
apiArgs = FB.api.calls.argsFor(0)
|
||||
expect(apiArgs[0]).toBe('/me')
|
||||
apiArgs[1](mockMe) # sending the 'response'
|
||||
apiArgs[2](mockMe) # sending the 'response'
|
||||
request = jasmine.Ajax.requests.mostRecent()
|
||||
expect(request).toBeDefined()
|
||||
params = JSON.parse request.params
|
||||
|
|
Loading…
Reference in a new issue