Skip to content
Myr

Fixed latest 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 f30b497 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/view.test.js+2 added-2 removed
135 unmodified lines
136 { body: '<foo></foo>' });137 assert.response(app,138 { url: '/nope' },139 function(res){140 assert.ok(res.body.indexOf('ReferenceError') >= 0);141 assert.ok(res.body.indexOf('doesNotExist') >= 0);140 assert.ok(res.body.indexOf('Error: ENOENT') >= 0);141 assert.ok(res.body.indexOf('nope.jade') >= 0);142 });143144 beforeExit(function(){145 assert.ok(called, 'Layout callback never called');
269 unmodified lines