[Groonga-commit] droonga/express-droonga at 537fc8f [master] Define missing "getRouteToSelf()" to stub connection

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Dec 16 16:16:33 JST 2013


YUKI Hiroshi	2013-12-16 16:16:33 +0900 (Mon, 16 Dec 2013)

  New Revision: 537fc8f93131b8e07634e6e30fe74b3cf75add01
  https://github.com/droonga/express-droonga/commit/537fc8f93131b8e07634e6e30fe74b3cf75add01

  Message:
    Define missing "getRouteToSelf()" to stub connection

  Modified files:
    test/test-utils.js

  Modified: test/test-utils.js (+3 -0)
===================================================================
--- test/test-utils.js    2013-12-16 16:09:46 +0900 (502f940)
+++ test/test-utils.js    2013-12-16 16:16:33 +0900 (9c0d759)
@@ -171,6 +171,9 @@ function createStubbedBackendConnection() {
       });
     },
     emitMessageCalledArguments: [],
+    getRouteToSelf: function() {
+      return 'localhost:' + testReceivePort + '/' + testTag;
+    },
 
     emit: function() {},
     on: function() {},
-------------- next part --------------
HTML����������������������������...
다운로드 



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