Kouhei Sutou
null+****@clear*****
Tue Apr 9 17:51:23 JST 2013
Kouhei Sutou 2013-04-09 17:51:23 +0900 (Tue, 09 Apr 2013) New Revision: 7abcf0b7e35b1167f345ace93c9d03cfe6f97b16 https://github.com/groonga/fluent-plugin-droonga/commit/7abcf0b7e35b1167f345ace93c9d03cfe6f97b16 Message: test: add a test for searching existing table Modified files: test/plugin/test_handler_search.rb Modified: test/plugin/test_handler_search.rb (+14 -0) =================================================================== --- test/plugin/test_handler_search.rb 2013-04-09 17:37:20 +0900 (1d534e2) +++ test/plugin/test_handler_search.rb 2013-04-09 17:51:23 +0900 (6556f20) @@ -77,5 +77,19 @@ class SearchHandlerTest < Test::Unit::TestCase }) end end + + def test_existent + assert_search({ + "sections-result" => {}, + }, + { + "queries" => { + "sections-result" => { + "source" => "Sections", + "output" => {}, + }, + }, + }) + end end end -------------- next part -------------- HTML����������������������������...Download