Permalink
Browse files

adjust locals tests

  • Loading branch information...
1 parent 84f8228 commit 1029b0b97f842f7abfaec82e28ffe53b5d572747 @tj tj committed Sep 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/res.render.js
View
4 test/res.render.js
@@ -125,7 +125,7 @@ describe('res', function(){
app.locals.user = { name: 'tobi' };
app.use(function(req, res){
- res.render('user.jade', {});
+ res.render('user.jade');
});
request(app)
@@ -140,7 +140,7 @@ describe('res', function(){
app.use(function(req, res){
res.locals.user = { name: 'tobi' };
- res.render('user.jade', {});
+ res.render('user.jade');
});
request(app)

0 comments on commit 1029b0b

Please sign in to comment.