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 5830ac9 · Browse files · 1 file+11 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+11 added−0 removed

  • tests:+11 added−0 removed

1 file+11 added−0 removed

modified:test/view.test.js+11 added
689 unmodified lines
690 assert.response(app,691 { url: '/' },692 { body: '<h1>Forum Thread</h1><p>:(</p>\n<p>Hello World</p>' });693 },694 695 'test #partial() relative lookup': function(){696 var app = create();697 app.get('/', function(req, res, next){698 res.partial('forum/thread.jade');699 });700701 assert.response(app,702 { url: '/' },703 { body: '<h1>Forum Thread</h1><p>:(</p>\n<p>Hello World</p>' });704 },705706 'test #partial() with several calls': function(){707 var app = create();708 709 app.get('/', function(req, res, next){
417 unmodified lines