Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update tests to use new HttpClient.handleRequest method

  • Loading branch information...
commit 187bc6c7e4e3f0d40c0887a770b9005a38f5622d 1 parent 5a30f30
@lsegal lsegal authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/request.spec.coffee
View
4 test/request.spec.coffee
@@ -66,7 +66,7 @@ describe 'AWS.Request', ->
it 'streams partial data and raises an error', ->
data = ''; error = null; reqError = null; done = false
spyOn(AWS.HttpClient, 'getInstance')
- AWS.HttpClient.getInstance.andReturn handleRequest: (req, cb, errCb) ->
+ AWS.HttpClient.getInstance.andReturn handleRequest: (req, opts, cb, errCb) ->
req = new EventEmitter()
req.statusCode = 200
req.headers = {}
@@ -92,7 +92,7 @@ describe 'AWS.Request', ->
data = ''; error = null; reqError = null; resp = null
retryCount = 0
spyOn(AWS.HttpClient, 'getInstance')
- AWS.HttpClient.getInstance.andReturn handleRequest: (req, cb, errCb) ->
+ AWS.HttpClient.getInstance.andReturn handleRequest: (req, opts, cb, errCb) ->
req = new EventEmitter()
req.statusCode = 200
req.headers = {}
Please sign in to comment.
Something went wrong with that request. Please try again.