Comparing version 0.5.3 to 0.5.4
@@ -48,5 +48,6 @@ var http = require('http'); | ||
function record(dont_print) { | ||
var body = []; | ||
http.request = function(options, callback) { | ||
var req, oldWrite, oldEnd; | ||
var body = [] | ||
, req, oldWrite, oldEnd; | ||
req = oldRequest.call(http, options, function(res) { | ||
@@ -53,0 +54,0 @@ var datas = []; |
{ "name" : "nock" | ||
, "description" : "HTTP Server mocking for Node.js" | ||
, "tags" : ["Mock", "HTTP", "testing", "isolation"] | ||
, "version" : "0.5.3" | ||
, "version" : "0.5.4" | ||
, "author" : "Pedro Teixeira <pedro.teixeira@gmail.com>" | ||
@@ -6,0 +6,0 @@ , "contributors" : |
39034