Skip to content
Myr

should

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 4a1edc0 · 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
371 unmodified lines
372373 var ret = app.dynamicHelpers({374 session: function(req, res){375 ++calls;376 assert.equal('object', typeof req, 'Test dynamic helper req');377 assert.equal('object', typeof res, 'Test dynamic helper res');378 assert.ok(this instanceof express.Server, 'Test dynamic helper app scope');376 req.should.be.a('object');377 res.should.be.a('object');378 this.should.be.an.instanceof(express.Server);379 return req.session;380 }381 });382
388 unmodified lines