Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[dist] Update package.json with devDependencies

  • Loading branch information...
commit 992ec7ba4f98cd89e68013ce9e4b4a651f7fa261 1 parent a5ffe61
@indexzero authored
Showing with 7 additions and 0 deletions.
  1. +4 −0 package.json
  2. +3 −0  test/00getting-started/pinpoint-test.js
View
4 package.json
@@ -15,6 +15,10 @@
"optimist": ">= 0.1.5",
"winston": ">= 0.2.1"
},
+ "devDependencies": {
+ "vows": "0.5.9",
+ "request": "2.0.x"
+ },
"bin": { "nodejs-intro": "./bin/server" },
"main": "./lib/03authentication/pinpoint",
"engines": { "node": ">= 0.4.0" }
View
3  test/00getting-started/pinpoint-test.js
@@ -20,6 +20,9 @@ vows.describe('00getting-started').addBatch(helpers.requiresInit(8000)).addBatch
"should respond with 501 - Not implemented": function (err, res, body) {
assert.isNull(err);
assert.equal(res.statusCode, 501);
+ },
+ "should respond with 'not implemented'": function (err, res, body) {
+ assert.isNull(err);
assert.equal(JSON.parse(body).message, 'not implemented');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.