Skip to content
Myr

Fixed a 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 3a32e2b · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • tests:+3 added−3 removed

1 file+3 added−3 removed

modified:test/view.test.js+3 added-3 removed
468 unmodified lines
469 'test #partial() locals': function(assert){470 var app = create();471472 app.get('/', function(req, res, next){473 res.send(res.render('pet-count.jade', {473 res.send(res.partial('pet-count.jade', {474 partial: true,475 layout: false,476 locals: {477 pets: {478 count: 5478 length: 5479 }480 }481 }));482 });483484 assert.response(app,485 { url: '/' },486 { body: 'We have 5 cool pets' });486 { body: 'We have 5 cool pets\n' });487 },488 489 'test #partial() inheriting initial locals': function(assert){490 var app = create();
131 unmodified lines