Permalink
Browse files

Added instancoef Route test

  • Loading branch information...
1 parent 4ffd528 commit dacad53b2e481b56e57234555adc564c2c6528ac @tj tj committed Apr 26, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/express.test.js
View
1 test/express.test.js
@@ -587,6 +587,7 @@ module.exports = {
app.put('/user/:id', function(){});
app.get('/user/:id/edit', function(){});
+ app.get('/user')[0].should.be.an.instanceof(Route);
app.get('/user').should.have.length(1);
app.get('/user/:id').should.have.length(1);
app.get('/user/:id/:op?').should.have.length(1);

0 comments on commit dacad53

Please sign in to comment.