null+****@clear*****
null+****@clear*****
2012年 6月 6日 (水) 11:18:13 JST
Haruka Yoshihara 2012-06-06 11:18:13 +0900 (Wed, 06 Jun 2012)
New Revision: 4bf97cc467c6514d87d95e8bf79bd8a37d8fcf76
Log:
Rename: actual_command -> actual_url
Because this variable has a URL translated from a command.
Modified files:
test/test-executor.rb
Modified: test/test-executor.rb (+8 -8)
===================================================================
--- test/test-executor.rb 2012-06-06 11:10:33 +0900 (de54e6a)
+++ test/test-executor.rb 2012-06-06 11:18:13 +0900 (4745f24)
@@ -65,26 +65,26 @@ class TestExecutor < Test::Unit::TestCase
"flags" => "TABLE_HASH_KEY",
"key_type" => "ShortText",
}
- actual_command = translate(command)
+ actual_url = translate(command)
expected_command = build_url("table_create", arguments)
- assert_equal(expected_command, actual_command)
+ assert_equal(expected_command, actual_url)
end
def test_command_with_argument_name
command = "select --table Sites"
- actual_command = translate(command)
+ actual_url = translate(command)
expected_command = build_url("select", "table" => "Sites")
- assert_equal(expected_command, actual_command)
+ assert_equal(expected_command, actual_url)
end
def test_command_without_arguments
command = "dump"
- actual_command = translate(command)
+ actual_url = translate(command)
expected_command = build_url(command, {})
- assert_equal(expected_command, actual_command)
+ assert_equal(expected_command, actual_url)
end
def test_load_command
@@ -134,10 +134,10 @@ EOF
"table" => "Sites",
"output_columns" => "_key,uri",
}
- actual_command = translate(command)
+ actual_url = translate(command)
expected_command = build_url("select", arguments)
- assert_equal(expected_command, actual_command)
+ assert_equal(expected_command, actual_url)
end
private