Skip to content

Commit

Permalink
test app.router: ignore connect method
Browse files Browse the repository at this point in the history
so tests pass in 0.11. 0.11 client seems to throw errors more often, so
this is not an issue with express or node’s servers.
  • Loading branch information
jonathanong committed Feb 8, 2014
1 parent aac1d52 commit 0796c1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/app.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ var express = require('../')
describe('app.router', function(){
describe('methods supported', function(){
methods.forEach(function(method){
if (method === 'connect') return;

it('should include ' + method.toUpperCase(), function(done){
if (method == 'delete') method = 'del';
var app = express();
Expand Down

0 comments on commit 0796c1d

Please sign in to comment.