Comparing version 0.5.5 to 0.5.6
@@ -28,2 +28,3 @@ var http = require('http'); | ||
if (requestBody) { | ||
ret.push(', '); | ||
ret.push(JSON.stringify(requestBody)); | ||
@@ -33,3 +34,3 @@ } | ||
ret.push(' .reply(') | ||
ret.push(' .reply('); | ||
ret.push(res.statusCode.toString()); | ||
@@ -36,0 +37,0 @@ ret.push(', '); |
{ "name" : "nock" | ||
, "description" : "HTTP Server mocking for Node.js" | ||
, "tags" : ["Mock", "HTTP", "testing", "isolation"] | ||
, "version" : "0.5.5" | ||
, "version" : "0.5.6" | ||
, "author" : "Pedro Teixeira <pedro.teixeira@gmail.com>" | ||
@@ -23,3 +23,3 @@ , "contributors" : | ||
} | ||
, "scripts": { "test": "node_modules/.bin/tap tests" } | ||
, "scripts": { "test": "node node_modules/tap/bin/tap.js tests" } | ||
} |
@@ -1,2 +0,2 @@ | ||
# Nock | ||
# Nock [![Build Status](https://secure.travis-ci.org/pgte/nock.png)](http://travis-ci.org/pgte/nock) | ||
@@ -3,0 +3,0 @@ Nock is an HTTP mocking and expectations library for Node.js |
@@ -22,3 +22,3 @@ var nock = require('../.') | ||
t.equal(ret.length, 1); | ||
t.equal(ret[0].indexOf("\nnock('expensecat.iriscouch.com')\n .post('/'\"ABCDEF\")\n .reply("), 0); | ||
t.equal(ret[0].indexOf("\nnock('expensecat.iriscouch.com')\n .post('/', \"ABCDEF\")\n .reply("), 0); | ||
t.end(); | ||
@@ -25,0 +25,0 @@ }); |
Sorry, the diff of this file is not supported yet
40000
12
1130