diff --git a/package.json b/package.json index 25df07d..e2d1d88 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/test/application.js b/test/application.js index 06958bf..8dda061 100644 --- a/test/application.js +++ b/test/application.js @@ -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]);