Skip to content
Browse files

add .buffer() so that responses with no content-length are testable. …

…closes #36
  • Loading branch information...
1 parent 46efc81 commit 2defecb5108c555f0ac1e4e6ee10d2e722cda4c1 @tj tj committed Nov 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/test.js
View
1 lib/test.js
@@ -35,6 +35,7 @@ module.exports = Test;
function Test(app, method, path) {
Request.call(this, method, path);
this.redirects(0);
+ this.buffer();
this.app = app;
this._fields = {};
this.url = 'string' == typeof app

0 comments on commit 2defecb

Please sign in to comment.
Something went wrong with that request. Please try again.