[Groonga-commit] droonga/fluent-plugin-droonga at 5ad9e8a [master] Update expected response of "column_create" command

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 27 18:26:04 JST 2013


YUKI Hiroshi	2013-11-27 18:26:04 +0900 (Wed, 27 Nov 2013)

  New Revision: 5ad9e8a1e87e1bdcddf1f6b61e4b3e8021982951
  https://github.com/droonga/fluent-plugin-droonga/commit/5ad9e8a1e87e1bdcddf1f6b61e4b3e8021982951

  Message:
    Update expected response of "column_create" command

  Modified files:
    test/unit/plugin/handler/groonga/test_column_create.rb

  Modified: test/unit/plugin/handler/groonga/test_column_create.rb (+5 -1)
===================================================================
--- test/unit/plugin/handler/groonga/test_column_create.rb    2013-11-27 18:21:22 +0900 (905e3fe)
+++ test/unit/plugin/handler/groonga/test_column_create.rb    2013-11-27 18:26:04 +0900 (c7ac641)
@@ -17,7 +17,11 @@ class ColumnCreateTest < GroongaHandlerTest
   def test_success
     @handler.table_create({"name" => "Books"})
     @handler.column_create({"table" => "Books", "name" => "title", "type" => "ShortText"})
-    assert_equal([true], @messages.last.first)
+    response =****@messa*****
+    assert_equal(
+      [[Droonga::GroongaHandler::Status::SUCCESS, NORMALIZED_START_TIME, NORMALIZED_ELAPSED_TIME], true],
+      [normalize_header(response.first), response.last]
+    )
   end
 
   def test_name
-------------- next part --------------
HTML����������������������������...
Download 



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