Kouhei Sutou
null+****@clear*****
Tue Jan 21 18:28:59 JST 2014
Kouhei Sutou 2014-01-21 18:28:59 +0900 (Tue, 21 Jan 2014) New Revision: 8488705b75512ee79f1580ae6aab56455125cdad https://github.com/droonga/express-droonga/commit/8488705b75512ee79f1580ae6aab56455125cdad Message: test: add commandSet group Modified files: test/adapter/http/register.test.js Modified: test/adapter/http/register.test.js (+3 -1) =================================================================== --- test/adapter/http/register.test.js 2014-01-21 18:26:58 +0900 (3d9959f) +++ test/adapter/http/register.test.js 2014-01-21 18:28:59 +0900 (5975cc1) @@ -7,7 +7,7 @@ var httpAdapter = require('../../../lib/adapter/http'); var command = require('../../../lib/adapter/command'); suite('adapter/http.register', function() { - suite('method', function() { + suite('commandSet', function() { function StubApplication() { this.getPaths = []; this.postPaths = []; @@ -60,6 +60,7 @@ suite('adapter/http.register', function() { return application.paths(); } + suite('method', function() { test('default', function() { var noMethodCommand = new command.HTTPRequestResponse({ path: '/no-method' @@ -103,6 +104,7 @@ suite('adapter/http.register', function() { assert.deepEqual(register({ 'delete-method': deleteMethodCommand }), { 'delete': ['/delete'] }); }); + }); }); }); -------------- next part -------------- HTML����������������������������...Download