null+****@clear*****
null+****@clear*****
2010年 6月 11日 (金) 15:39:34 JST
Kouhei Sutou 2010-06-11 06:39:34 +0000 (Fri, 11 Jun 2010) New Revision: da05b7438d2142694b3138370f7eae3722bb8aff Log: remove duplicated test. Modified files: test/unit/http/test-http-schema.rb Modified: test/unit/http/test-http-schema.rb (+3 -9) =================================================================== --- test/unit/http/test-http-schema.rb 2010-06-11 06:36:41 +0000 (7bbe689) +++ test/unit/http/test-http-schema.rb 2010-06-11 06:39:34 +0000 (f77df98) @@ -211,15 +211,9 @@ class HTTPSchemaTest < Test::Unit::TestCase end def test_table_create_with_duplicated_name - response = get(command_path(:table_create, :name => "table_create")) - assert_error_response(Result::INVALID_ARGUMENT, - "already used name was assigned", - response, - :content_type => "application/json") - end - - def test_table_create_with_duplicated_name - response = get(command_path(:table_create, :name => "table_create")) + response = get(command_path(:table_create, :name => "daijiro")) + assert_success_response(response, :content_type => "application/json") + response = get(command_path(:table_create, :name => "daijiro")) assert_error_response(Result::INVALID_ARGUMENT, "already used name was assigned", response,