Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
removed test suite duplicate 👯
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianc committed Apr 25, 2012
1 parent 38a1876 commit f27b9e5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/buffered-request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,6 @@ describe('buffered-request', function () {
httpreq('https://localhost:8080')
})
})
it('should patch IncomingMessage.prototype / https', function (done) {
var server = https.createServer({
key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem')
}, function (request, response) {
request.makeBuffered.should.be.instanceof(Function)
response.end()
server.close()
done()
})
server.listen(8080, function () {
httpreq('https://localhost:8080')
})
})
it('should buffer the request / pipe in', function (done) {
var originalHash = crypto.createHash('sha1')
var receivedHash = crypto.createHash('sha1')
Expand Down

0 comments on commit f27b9e5

Please sign in to comment.