Permalink
Browse files

Fixed a dynamic helper assertion

  • Loading branch information...
tj committed Jul 26, 2010
1 parent d691ecb commit fe99eb71477e24f549236b684c5a850a648f9a0a
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/view.test.js
View
@@ -186,8 +186,7 @@ module.exports = {
var ret = app.dynamicHelpers({
session: function(req, res){
assert.equal('object', typeof req, 'Test dynamic helper req');
- assert.equal('object', typeof req, 'Test dynamic helper res');
- assert.equal('object', typeof req, 'Test dynamic helper params');
+ assert.equal('object', typeof res, 'Test dynamic helper res');
assert.ok(this instanceof express.Server, 'Test dynamic helper app scope');
return req.session;
}

0 comments on commit fe99eb7

Please sign in to comment.