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:
@@ -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();
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário