Skip to content
Myr

Uncommented cookie assertions previously failing

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 a25dd38 · 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);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 });
9 unmodified lines
267 268 assert.response(app,269 { url: '/' },270 function(res){271 //assert.length(res.headers['set-cookie'], 1);271 assert.length(res.headers['set-cookie'], 1);272 assert.equal(273 'rememberme=; expires=Thu, 01 Jan 1970 00:00:00 GMT',274 res.headers['set-cookie'][0]);275 });
2 unmodified lines