[Groonga-commit] droonga/express-droonga at 4011488 [master] Update test for the new spec

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Feb 7 18:10:56 JST 2014


YUKI Hiroshi	2014-02-07 18:10:56 +0900 (Fri, 07 Feb 2014)

  New Revision: 40114885fe18973e2ef350f279af8b7dad0aebb3
  https://github.com/droonga/express-droonga/commit/40114885fe18973e2ef350f279af8b7dad0aebb3

  Message:
    Update test for the new spec

  Modified files:
    test/adapter/http.test.js

  Modified: test/adapter/http.test.js (+4 -4)
===================================================================
--- test/adapter/http.test.js    2014-02-07 18:07:28 +0900 (82aa62a)
+++ test/adapter/http.test.js    2014-02-07 18:10:56 +0900 (df7e041)
@@ -176,7 +176,7 @@ suite('HTTP Adapter', function() {
       utils.setupServer(application)
         .next(function(newServer) {
           server = newServer;
-          utils.get('/tables/foo?query=bar');
+          utils.get('/tables/Store?query=NY');
         })
         .wait(0.1)
         .next(function() {
@@ -186,10 +186,10 @@ suite('HTTP Adapter', function() {
 
           var expected = {
             queries: {
-              result: {
-                source: 'foo',
+              stores: {
+                source: 'Store',
                 condition: {
-                  query: 'bar'
+                  query: 'NY'
                 },
                 output: {
                   elements: utils.allElements,
-------------- next part --------------
HTML����������������������������...
Download 



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