Kouhei Sutou
null+****@clear*****
Sun Nov 25 18:14:08 JST 2012
Kouhei Sutou 2012-11-25 18:14:08 +0900 (Sun, 25 Nov 2012) New Revision: cf8fea5faa671acabbf464f93e78cc147048e431 https://github.com/groonga/groonga-command/commit/cf8fea5faa671acabbf464f93e78cc147048e431 Log: Add missing output_type argument Modified files: test/command/test-base.rb Modified: test/command/test-base.rb (+4 -2) =================================================================== --- test/command/test-base.rb 2012-11-25 18:13:36 +0900 (5e4a863) +++ test/command/test-base.rb 2012-11-25 18:14:08 +0900 (bbeb3b0) @@ -21,7 +21,8 @@ class BaseCommandTest < Test::Unit::TestCase def test_to_uri_format select = Groonga::Command::Base.new("select", :table => "Users", - :filter => "age<=30") + :filter => "age<=30", + :output_type => "json") assert_equal("/d/select.json?filter=age%3C%3D30&table=Users", select.to_uri_format) end @@ -29,7 +30,8 @@ class BaseCommandTest < Test::Unit::TestCase def test_to_command_format select = Groonga::Command::Base.new("select", :table => "Users", - :filter => "age<=30") + :filter => "age<=30", + :output_type => "json") assert_equal("select --filter \"age<=30\" " + "--output_type \"json\" --table \"Users\"", select.to_command_format) -------------- next part -------------- HTML����������������������������... 下载