Skip to content
Myr

Added failing partial precedence test

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 d9e7153 · Browse files · 3 files+10 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

3 files+10 added−0 removed

  • tests:+10 added−0 removed

3 files+10 added−0 removed

added:test/fixtures/_foobar.jade+1 added
1p two
added:test/fixtures/foobar.jade+1 added
1p one
modified:test/view.test.js+8 added
655 unmodified lines
656657 assert.response(app,658 { url: '/error' },659 { status: 500 });660661 app.get('/underscore', function(req, res, next){662 res.partial('foobar');663 });664665 assert.response(app,666 { url: '/underscore' },667 { body: '<p>two</p>' });668 },669 670 'test #partial() with several calls': function(){671 var app = create();
419 unmodified lines