Skip to content
Myr

test app.router: ignore connect method

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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.

authored by Jonathan Ong · committed by Jonathan Ong · parent aac1d52 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:test/app.router.js+2 added
5 unmodified lines
67describe('app.router', function(){8 describe('methods supported', function(){9 methods.forEach(function(method){10 if (method === 'connect') return;1112 it('should include ' + method.toUpperCase(), function(done){13 if (method == 'delete') method = 'del';14 var app = express();15 var calls = [];
581 unmodified lines