update the tests to show a difference between send(null) and send(undefiend)

Esse commit está contido em:
Veselin Todorov
2014-01-03 19:47:57 +02:00
commit a36eeb96f3
+5 -1
Ver Arquivo
@@ -14,6 +14,7 @@ describe('res', function(){
request(app)
.get('/')
.expect('Content-Length', '0')
.expect('', done);
})
})
@@ -28,7 +29,10 @@ describe('res', function(){
request(app)
.get('/')
.expect('', done);
.expect('', function(req, res){
res.header.should.not.have.property('content-length');
done();
});
})
})