Skip to content

Commit

Permalink
Merge 7b808e5 into d452501
Browse files Browse the repository at this point in the history
  • Loading branch information
hatz48 committed Nov 6, 2015
2 parents d452501 + 7b808e5 commit b7b3bcf
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,6 @@ describe('send(ctx, file)', function(){
.get('/world')
.expect(404, done);
})

it('should 404', function(done){
var app = koa();

app.use(function *(){
var opts = { root: 'test', index: 'index.html', format: false };
yield send(this, 'fixtures/world', opts);
});

request(app.listen())
.get('/world')
.expect(404, done);
})
})

describe('when path does not finish with slash and format is enabled', function(){
Expand Down

0 comments on commit b7b3bcf

Please sign in to comment.