Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed mime definition test

  • Loading branch information...
commit b51b0df07f1fed02e40204e3d3fb5f9464a62d69 1 parent 861d0b1
@tj tj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/static.test.js
View
2  test/static.test.js
@@ -231,7 +231,7 @@ module.exports = {
},
'test custom mime type definition': function(){
- require('mime').define({ 'application/coffee-script': ['coffee'] });
+ connect.static.mime.define({ 'application/coffee-script': ['coffee'] });
assert.response(app,
{ url: '/script.coffee' },
{ headers: { 'Content-Type': 'application/coffee-script' }});
Please sign in to comment.
Something went wrong with that request. Please try again.