Skip to content
Myr

Fixed a dynamic helper assertion

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

  • tests:+1 added−2 removed

1 file+1 added−2 removed

modified:test/view.test.js+1 added-2 removed
184 unmodified lines
185186 var ret = app.dynamicHelpers({187 session: function(req, res){188 assert.equal('object', typeof req, 'Test dynamic helper req');189 assert.equal('object', typeof req, 'Test dynamic helper res');190 assert.equal('object', typeof req, 'Test dynamic helper params');189 assert.equal('object', typeof res, 'Test dynamic helper res');190 assert.ok(this instanceof express.Server, 'Test dynamic helper app scope');191 return req.session;192 }193 });
150 unmodified lines