Skip to content

Commit

Permalink
test: _key must specify in output_columns
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 21, 2016
1 parent 66c1ebc commit 4b77914
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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"]
Expand Down

0 comments on commit 4b77914

Please sign in to comment.