[Groonga-commit] groonga/express-kotoumi [master] test/ Setup mocked backend connection for REST API tests correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Feb 8 17:25:23 JST 2013


YUKI Hiroshi	2013-02-08 17:25:23 +0900 (Fri, 08 Feb 2013)

  New Revision: 10a00b56eddba1d74925282b332b2b93e0c5f2b2
  https://github.com/groonga/express-kotoumi/commit/10a00b56eddba1d74925282b332b2b93e0c5f2b2

  Log:
    test/ Setup mocked backend connection for REST API tests correctly

  Modified files:
    test/express-adaptor.test.js

  Modified: test/express-adaptor.test.js (+1 -1)
===================================================================
--- test/express-adaptor.test.js    2013-02-08 17:22:58 +0900 (44affd3)
+++ test/express-adaptor.test.js    2013-02-08 17:25:23 +0900 (2a57493)
@@ -24,7 +24,7 @@ suite('Adaption for express application', function() {
     var server;
 
     setup(function(done) {
-      connection = utils.createMockedBackendConnection(utils.socketIoDefaultCommandsModule);
+      connection = utils.createMockedBackendConnection(testPlugin);
       application = express();
       utils.setupServer(application)
         .next(function(newServer) {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index