Permalink
Browse files

removed a nested assert.response test

  • Loading branch information...
1 parent ed55162 commit 1ade9b602c681e9d5188976c5e02b6bcee95f0d7 @tj tj committed Oct 12, 2011
Showing with 0 additions and 12 deletions.
  1. +0 −12 test/static.test.js
View
@@ -151,18 +151,6 @@ module.exports = {
{ body: '4567', 'Content-Range': 'bytes 3-6/9', status: 206 });
},
- 'test conditional range': function(){
- assert.response(app,
- { url: '/list' },
- function(res) {
- res.headers.should.have.property('etag');
- assert.response(app,
- { url: '/list', headers: { Range: 'bytes=3-6', 'If-None-Match': res.headers.etag }},
- { status: 304 }
- );
- });
- },
-
'test invalid Range': function(){
assert.response(app,
{ url: '/list', headers: { Range: 'bytes=RAWR' }},

0 comments on commit 1ade9b6

Please sign in to comment.