Merge pull request #445 from yorkie/fix/gh-444

upgrade supertest to ^1.0.1
This commit is contained in:
Yiyu He 2015-05-24 14:19:58 +08:00
commit 2c9f2dcd9c
2 changed files with 2 additions and 1 deletions

View file

@ -48,7 +48,7 @@
"make-lint": "^1.0.1",
"mocha": "^2.0.1",
"should": "^3.1.0",
"supertest": "~0.15.0",
"supertest": "^1.0.1",
"test-console": "^0.7.1"
},
"engines": {

View file

@ -105,6 +105,7 @@ describe('app.use(fn)', function(){
request(server)
.get('/')
.expect(404)
.end(function(err){
if (err) return done(err);
calls.should.eql([1,2,3,4,5,6]);