Skip to content

Commit

Permalink
s/foo/relative/
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 23, 2010
1 parent b463bd7 commit e554378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/view.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = {
app.get('/no-ext', function(req, res){
res.render('index.jade', { layout: 'cool-layout' });
});
app.get('/foo', function(req, res){
app.get('/relative', function(req, res){
res.render('index.jade', { layout: 'layouts/foo.jade' });
});

Expand All @@ -113,7 +113,7 @@ module.exports = {
{ url: '/no-ext' },
{ body: '<cool><p>Welcome</p></cool>' });
assert.response(app,
{ url: '/foo' },
{ url: '/relative' },
{ body: '<foo></foo>' });
},

Expand Down

0 comments on commit e554378

Please sign in to comment.