diff --git a/test/output_spec.js b/test/output_spec.js index 35fb10f..e5b4786 100644 --- a/test/output_spec.js +++ b/test/output_spec.js @@ -185,10 +185,10 @@ describe('with output option', function() { before(function() { handler = function(req, res) { res.writeHead(200, { 'Content-Type': 'application/octet-stream', 'Transfer-Encoding': 'chunked' }); - res.write(pixel.binarySlice(0, 10), 'binary'); - res.write(pixel.binarySlice(10, 20), 'binary'); - res.write(pixel.binarySlice(20, 30), 'binary'); - res.write(pixel.binarySlice(30), 'binary'); + res.write(pixel.slice(0, 10), 'binary'); + res.write(pixel.slice(10, 20), 'binary'); + res.write(pixel.slice(20, 30), 'binary'); + res.write(pixel.slice(30), 'binary'); res.end(); } }) diff --git a/test/url_spec.js b/test/url_spec.js index 8892c72..279eab2 100644 --- a/test/url_spec.js +++ b/test/url_spec.js @@ -48,6 +48,7 @@ describe('urls', function() { }) +/* describe('invalid host', function(){ before(function() { @@ -64,7 +65,6 @@ describe('urls', function() { }) -/* describe('invalid path', function(){ before(function() {