[Groonga-commit] groonga/gcs [master] Fix assertions around delete index actions

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 2日 (木) 14:05:58 JST


SHIMODA Hiroshi	2012-08-02 14:05:58 +0900 (Thu, 02 Aug 2012)

  New Revision: 08e3462a5340b39433bac74f8791dde677ec7b7e
  https://github.com/groonga/gcs/commit/08e3462a5340b39433bac74f8791dde677ec7b7e

  Log:
    Fix assertions around delete index actions

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+6 -6)
===================================================================
--- test/api-configuration.test.js    2012-08-02 14:04:54 +0900 (dbed917)
+++ test/api-configuration.test.js    2012-08-02 14:05:58 +0900 (8988747)
@@ -436,9 +436,9 @@ suite('Configuration API', function() {
            'Action=DeleteIndexField&Version=2011-02-01')
       .next(function(response) {
         assert.deepEqual({ domain: domain.exists(),
-                           field:  domain.field() },
+                           field:  field.exists() },
                          { domain: true,
-                           field:  faldomain.field() });
+                           field:  false });
 
         response = toParsedResponse(response);
         assert.deepEqual(response.pattern,
@@ -469,9 +469,9 @@ suite('Configuration API', function() {
            'Action=DeleteIndexField&Version=2011-02-01')
       .next(function(response) {
         assert.deepEqual({ domain: domain.exists(),
-                           field:  domain.field() },
+                           field:  field.exists() },
                          { domain: true,
-                           field:  faldomain.field() });
+                           field:  false });
 
         response = toParsedResponse(response);
         assert.deepEqual(response.pattern,
@@ -502,9 +502,9 @@ suite('Configuration API', function() {
            'Action=DeleteIndexField&Version=2011-02-01')
       .next(function(response) {
         assert.deepEqual({ domain: domain.exists(),
-                           field:  domain.field() },
+                           field:  field.exists() },
                          { domain: true,
-                           field:  faldomain.field() });
+                           field:  false });
 
         response = toParsedResponse(response);
         assert.deepEqual(response.pattern,
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index