Skip to content
Myr

Fixed two tests

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 05c2946 · 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
367 unmodified lines
368 assert.response(app,369 { url: '/' },370 function(res){371 res.headers['set-cookie']372 .should.equal('rememberme=yes; expires=Thu, 01 Jan 1970 00:00:00 GMT; httpOnly');372 .should.eql(['rememberme=yes; expires=Thu, 01 Jan 1970 00:00:00 GMT; httpOnly']);373 });374 },375 376 'test #clearCookie()': function(){
7 unmodified lines
384 assert.response(app,385 { url: '/' },386 function(res){387 res.headers['set-cookie']388 .should.equal('rememberme=; expires=Thu, 01 Jan 1970 00:00:00 GMT');388 .should.eql(['rememberme=; expires=Thu, 01 Jan 1970 00:00:00 GMT']);389 });390 },391 392 'test HEAD': function(){
11 unmodified lines