Skip to content

Commit

Permalink
fixed two res.locals.use() tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 3, 2012
1 parent d9aea70 commit 6e26a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/res.locals.use.js
Expand Up @@ -55,7 +55,7 @@ describe('res', function(){
app.locals.first = 'tobi'; app.locals.first = 'tobi';


app.use(function(req, res, next){ app.use(function(req, res, next){
app.locals.use(function(req, res){ res.locals.use(function(req, res){
res.locals.last = 'holowaychuk'; res.locals.last = 'holowaychuk';
res.locals.species = 'ferret'; res.locals.species = 'ferret';
}); });
Expand All @@ -82,7 +82,7 @@ describe('res', function(){
app.locals.first = 'tobi'; app.locals.first = 'tobi';


app.use(function(req, res, next){ app.use(function(req, res, next){
app.locals.use(function(req, res){ res.locals.use(function(req, res){
res.locals.last = 'holowaychuk'; res.locals.last = 'holowaychuk';
res.locals.species = 'ferret'; res.locals.species = 'ferret';
}); });
Expand Down

0 comments on commit 6e26a8d

Please sign in to comment.