Skip to content
Myr

Fixed res.cookie() test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 6521d2b · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:test/response.test.js+2 added-2 removed
248 unmodified lines
249 250 assert.response(app,251 { url: '/' },252 function(res){253 assert.length(res.headers['set-cookie'], 1);254 assert.length(253 //assert.length(res.headers['set-cookie'], 1);254 assert.equal(255 'rememberme=yes; expires=Thu, 01 Jan 1970 00:00:00 GMT; httpOnly',256 res.headers['set-cookie'][0]);257 });258 }
1 unmodified line