Skip to content

Commit 48823c8

Browse files
taueresdougwilson
authored andcommitted
tests: remove duplicate test
closes #56
1 parent 5b07766 commit 48823c8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/test.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,6 @@ describe('serveStatic()', function(){
119119
.get('/.hidden')
120120
.expect(404, done);
121121
});
122-
123-
it('should set max-age=0 by default', function(done){
124-
request(server)
125-
.get('/todo.txt')
126-
.expect('cache-control', 'public, max-age=0')
127-
.expect(200, done)
128-
});
129122
});
130123

131124
(skipRelative ? describe.skip : describe)('current dir', function(){
@@ -588,7 +581,7 @@ describe('serveStatic()', function(){
588581
describe('when index at mount point', function(){
589582
var server;
590583
before(function () {
591-
server = createServer('test/fixtures/users', null, function (req) {
584+
server = createServer(fixtures + '/users', null, function (req) {
592585
req.originalUrl = req.url;
593586
req.url = '/' + req.url.split('/').slice(2).join('/');
594587
});

0 commit comments

Comments
 (0)