null+****@clear*****
null+****@clear*****
2010年 8月 16日 (月) 17:39:27 JST
Kouhei Sutou 2010-08-16 08:39:27 +0000 (Mon, 16 Aug 2010)
New Revision: ac2922b53f578c0ea4fc77f804253a221dcf1908
Log:
fix charcter case.
Modified files:
test/unit/http/test-http-schema.rb
Modified: test/unit/http/test-http-schema.rb (+11 -13)
===================================================================
--- test/unit/http/test-http-schema.rb 2010-08-16 05:01:48 +0000 (57dc75d)
+++ test/unit/http/test-http-schema.rb 2010-08-16 08:39:27 +0000 (3ee57e6)
@@ -718,13 +718,13 @@ class HTTPSchemaTest < Test::Unit::TestCase
books_name_column_id = column_create("books",
"name",
"COLUMN_VECTOR",
- "Shorttext")
+ "ShortText")
assert_column_list([[books_name_column_id,
"name",
"var",
- "column_vector|persistent",
+ "COLUMN_VECTOR|PERSISTENT",
"books",
- "shorttext",
+ "ShortText",
[]]],
:table => "books")
end
@@ -734,14 +734,14 @@ class HTTPSchemaTest < Test::Unit::TestCase
books_name_column_id = column_create("books",
"name",
- "column_index|with_weight",
- "shorttext")
+ "COLUMN_INDEX|WITH_WEIGHT",
+ "ShortText")
assert_column_list([[books_name_column_id,
"name",
"index",
- "column_index|with_weight|persistent",
+ "COLUMN_INDEX|WITH_WEIGHT|PERSISTENT",
"books",
- "shorttext",
+ "ShortText",
[]]],
:table => "books")
end
@@ -751,14 +751,14 @@ class HTTPSchemaTest < Test::Unit::TestCase
books_name_column_id = column_create("books",
"name",
- " column_index | with_weight ",
- "shorttext")
+ " COLUMN_INDEX | WITH_WEIGHT ",
+ "ShortText")
assert_column_list([[books_name_column_id,
"name",
"index",
- "column_index|with_weight|persistent",
+ "COLUMN_INDEX|WITH_WEIGHT|PERSISTENT",
"books",
- "shorttext",
+ "ShortText",
[]]],
:table => "books")
end
@@ -780,8 +780,6 @@ class HTTPSchemaTest < Test::Unit::TestCase
private
def create_books_table
- response = get(command_path(:table_create, :name => "books"))
- assert_success_response(response, :content_type => "application/json")
@books_table_id = table_create("books")
assert_table_list([[@books_table_id,