mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
Fixed a test to expect PUT instead of PATCH.
This commit is contained in:
parent
5ba1f61abe
commit
def4108913
1 changed files with 2 additions and 1 deletions
|
@ -76,5 +76,6 @@ describe 'lib/FacebookHandler.coffee', ->
|
|||
expect(params.gender).toBe(mockMe.gender)
|
||||
expect(params.email).toBe(mockMe.email)
|
||||
expect(params.facebookID).toBe(mockMe.id)
|
||||
expect(request.method).toBe('PATCH')
|
||||
#expect(request.method).toBe('PATCH') # PATCHes are PUTs until more proxy servers recognize PATCH
|
||||
expect(request.method).toBe('PUT')
|
||||
expect(_.string.startsWith(request.url, '/db/user/12345')).toBeTruthy()
|
||||
|
|
Loading…
Reference in a new issue