Fix typo on response.body test.
Just a small typo.
This commit is contained in:
parent
68843e0cb3
commit
8d1a340789
1 changed files with 2 additions and 2 deletions
|
@ -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']);
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue