[Groonga-commit] ranguba/groonga-client-rails at 4b77914 [master] test: _key must specify in output_columns

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 21 17:34:29 JST 2016


Kouhei Sutou	2016-12-21 17:34:29 +0900 (Wed, 21 Dec 2016)

  New Revision: 4b779145360f110661d85d74e815c5109d3c4f02
  https://github.com/ranguba/groonga-client-rails/commit/4b779145360f110661d85d74e815c5109d3c4f02

  Message:
    test: _key must specify in output_columns

  Modified files:
    test/apps/rails5-activerecord/test/searchers/posts_searcher_test.rb

  Modified: test/apps/rails5-activerecord/test/searchers/posts_searcher_test.rb (+1 -1)
===================================================================
--- test/apps/rails5-activerecord/test/searchers/posts_searcher_test.rb    2016-12-21 17:33:09 +0900 (46c72a3)
+++ test/apps/rails5-activerecord/test/searchers/posts_searcher_test.rb    2016-12-21 17:34:29 +0900 (a873493)
@@ -64,7 +64,7 @@ class PostsSearcherTest < ActionController::TestCase
     result_set = @searcher.
       search.
       query("Hello").
-      output_columns("snippet_html(body)").
+      output_columns(["_key", "snippet_html(body)"]).
       result_set
     snippet_htmls = result_set.records.collect do |record|
       record["snippet_html"]
-------------- next part --------------
HTML����������������������������...
Download 



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