test app.router: ignore connect method

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.
Esse commit está contido em:
Jonathan Ong
2014-02-08 11:39:26 -08:00
commit 0796c1d2d2
+2
Ver Arquivo
@@ -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();