Skip to content

Commit

Permalink
Although unrelated to expressjs#1516, this broken test case is causin…
Browse files Browse the repository at this point in the history
…g headaches. (This is a reasonable fix in any case.)
  • Loading branch information
Michael Ahlers committed Feb 24, 2013
1 parent 04b0c44 commit a726639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/req.signedCookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('req', function(){
app.use(express.cookieParser('secret'));

app.use(function(req, res){
res.send(req.signedCookies);
res.send(JSON.stringify(req.signedCookies));
});

app.response.req = { secret: 'secret' };
Expand All @@ -34,7 +34,7 @@ describe('req', function(){
app.use(express.cookieParser('secret'));

app.use(function(req, res){
res.send(req.signedCookies);
res.send(JSON.stringify(req.signedCookies));
});

app.response.req = { secret: 'secret' };
Expand Down

0 comments on commit a726639

Please sign in to comment.