Skip to content
Myr

more tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent c9ff619 · Browse files · 1 file+9 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−0 removed

  • tests:+9 added−0 removed

1 file+9 added−0 removed

modified:test/view.test.js+9 added
709 unmodified lines
710 },711 712 'test #partial() relative lookup': function(){713 var app = create();714715 app.get('/', function(req, res, next){716 res.partial('forum/thread.jade');717 });718719 app.get('/2', function(req, res, next){720 res.partial('forum/../forum/thread.jade');721 });722723 assert.response(app,724 { url: '/2' },725 { body: '<h1>Forum Thread</h1><p>:(</p>\n<p>Hello World</p>' });726727 assert.response(app,728 { url: '/' },729 { body: '<h1>Forum Thread</h1><p>:(</p>\n<p>Hello World</p>' });730 },731
421 unmodified lines