Permalink
Browse files

Fixed cookie spec urlencoding

  • Loading branch information...
1 parent 16d1651 commit 746cda27ec15a63b474b6213eabdeca8033621d7 @tj tj committed May 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec.plugins.cookie.js
@@ -116,7 +116,7 @@ describe 'Express'
get('/user', function(){
return this.cookie('foo')
})
- get('/user', { headers: { cookie: 'foo=bar==' }}).body.should.eql 'bar=='
+ get('/user', { headers: { cookie: 'foo=bar%3D%3D' }}).body.should.eql 'bar=='
end
end

0 comments on commit 746cda2

Please sign in to comment.