Browse files

add "application/octet-stream" redirect Accept test case. Closes #1317

  • Loading branch information...
1 parent 8edf358 commit 568e0d297a5d71109686043d944755207765afc2 @tj tj committed Sep 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/res.redirect.js
View
2 test/res.redirect.js
@@ -281,7 +281,7 @@ describe('res', function(){
request(app)
.get('/')
- .set('Accept', 'foo/bar')
+ .set('Accept', 'application/octet-stream')
.end(function(err, res){
res.should.have.status(302);
res.headers.should.have.property('location', 'http://google.com');

0 comments on commit 568e0d2

Please sign in to comment.