YUKI Hiroshi
null+****@clear*****
Wed Oct 16 19:12:30 JST 2013
YUKI Hiroshi 2013-10-16 19:12:30 +0900 (Wed, 16 Oct 2013) New Revision: d539391651f8d7724000b52e08a19f2d4b5c7736 https://github.com/droonga/express-droonga/commit/d539391651f8d7724000b52e08a19f2d4b5c7736 Message: Load depending libraries Modified files: test/adapter/rest.test.js Modified: test/adapter/rest.test.js (+16 -4) =================================================================== --- test/adapter/rest.test.js 2013-10-16 19:10:02 +0900 (8cd03ce) +++ test/adapter/rest.test.js 2013-10-16 19:12:30 +0900 (04ade69) @@ -66,10 +66,10 @@ suite('HTTP Adapter', function() { assert.deepEqual(registeredCommands, [{ name: 'search', definition: restAPI.search }, - { name: 'droonga', - definition: droongaAPI.droonga }, { name: 'groonga', definition: groongaAPI.groonga }, + { name: 'droonga', + definition: droongaAPI.droonga }, { name: 'getCommand', definition: basePlugin.getCommand }, { name: 'putCommand', @@ -202,7 +202,13 @@ suite('HTTP Adapter', function() { var application = express(); httpAdapter.register(application, { prefix: '', - connection: connection + connection: connection, + plugins: [ + api.API_REST, + api.API_SOCKET_IO, + api.API_GROONGA, + api.API_DROONGA + ] }); utils.setupServer(application) .next(function(newServer) { @@ -244,7 +250,13 @@ suite('HTTP Adapter', function() { var application = express(); httpAdapter.register(application, { prefix: '', - connection: connection + connection: connection, + plugins: [ + api.API_REST, + api.API_SOCKET_IO, + api.API_GROONGA, + api.API_DROONGA + ] }); var searchQueries = { source: 'table', -------------- next part -------------- HTML����������������������������... Download