Permalink
Browse files

update cookie dep

  • Loading branch information...
1 parent 214f913 commit a50f02e87d570e696db4664247c4675a3c22b607 @tj tj committed Jul 24, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 test/res.cookie.js
View
@@ -14,7 +14,7 @@
"commander": "0.6.1",
"range-parser": "0.0.4",
"mkdirp": "0.3.3",
- "cookie": "0.0.3",
+ "cookie": "0.0.4",
"crc": "0.2.0",
"fresh": "0.1.0",
"methods": "0.0.1",
View
@@ -15,7 +15,7 @@ describe('res', function(){
request(app)
.get('/')
.end(function(err, res){
- var val = ['user=j:{%22name%22:%22tobi%22}; Path=/'];
+ var val = ['user=' + encodeURIComponent('j:{"name":"tobi"}') + '; Path=/'];
res.headers['set-cookie'].should.eql(val);
done();
})

0 comments on commit a50f02e

Please sign in to comment.