Skip to content

Commit

Permalink
Assert blog.route
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 22, 2010
1 parent a04a757 commit 51ebc88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/express.test.js
Expand Up @@ -228,11 +228,12 @@ module.exports = {
blog = express.createServer();

app.use('/blog', blog);
assert.equal('/blog', blog.route);

app.get('/', function(req, res){
res.send('main app');
});

blog.get('/', function(req, res){
res.send('blog index');
});
Expand Down

0 comments on commit 51ebc88

Please sign in to comment.