Permalink
Browse files

Adding failing test for #19

  • Loading branch information...
1 parent 297510e commit fc440a26aa5559e8267e0446cda1bc22a3f6eabe @tomgco tomgco committed Jan 12, 2012
Showing with 10 additions and 0 deletions.
  1. BIN test/fixtures/space the final frontier/tomg.co.png
  2. +10 −0 test/staticGzipTest.js
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -166,5 +166,15 @@ module.exports = {
res.statusCode.should.not.equal(301);
}
);
+ },
+ 'ensuring that gzippo works with a space in a static content path': function() {
+ assert.response(getApp(),
+ {
+ url: '/space%20the%20final%20frontier/tomg.co.png'
+ },
+ function(res) {
+ res.statusCode.should.not.equal(404);
+ }
+ );
}
};

0 comments on commit fc440a2

Please sign in to comment.