Fix typo on response.body test.

Just a small typo.
This commit is contained in:
Jesús Rodríguez Rodríguez 2015-01-29 21:02:07 +01:00 committed by Jonathan Ong
parent 68843e0cb3
commit 8d1a340789

View file

@ -68,7 +68,7 @@ describe('res.body=', function(){
assert.equal(res.length, Buffer.byteLength(string)); assert.equal(res.length, Buffer.byteLength(string));
}) })
it('should set length when body is overriden', function(){ it('should set length when body is overridden', function(){
var string = '<h1>Tobi</h1>'; var string = '<h1>Tobi</h1>';
var res = response(); var res = response();
res.body = string; res.body = string;
@ -129,4 +129,4 @@ describe('res.body=', function(){
assert('application/json; charset=utf-8' == res.header['content-type']); assert('application/json; charset=utf-8' == res.header['content-type']);
}) })
}) })
}) })