null+****@clear*****
null+****@clear*****
2010年 7月 5日 (月) 17:20:53 JST
Kouhei Sutou 2010-07-05 08:20:53 +0000 (Mon, 05 Jul 2010)
New Revision: 59eb908c12ec4506ba6c4e7a445d02c80a2603a8
Log:
follow HTML return value change.
Modified files:
test/unit/lib/ruby/groonga-http-test-utils.rb
Modified: test/unit/lib/ruby/groonga-http-test-utils.rb (+2 -2)
===================================================================
--- test/unit/lib/ruby/groonga-http-test-utils.rb 2010-07-05 08:20:32 +0000 (a496241)
+++ test/unit/lib/ruby/groonga-http-test-utils.rb 2010-07-05 08:20:53 +0000 (c1374db)
@@ -140,7 +140,7 @@ module GroongaHTTPTestUtils
response = get(command_path(:load,
:table => table,
:values => json(values)))
- assert_response([success_status_response, n_values], response,
+ assert_response([success_status_response, [n_values]], response,
:content_type => "application/json")
end
@@ -234,7 +234,7 @@ module GroongaHTTPTestUtils
end
def assert_success_response(response, options=nil)
- assert_response([success_status_response], response, options)
+ assert_response([success_status_response, [true]], response, options)
end
def assert_response_body(body, response, options=nil, &block)