diff options
Diffstat (limited to 'actionwebservice/test/client_xmlrpc_test.rb')
-rw-r--r-- | actionwebservice/test/client_xmlrpc_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionwebservice/test/client_xmlrpc_test.rb b/actionwebservice/test/client_xmlrpc_test.rb index f9be9bfe16..cd393fbad6 100644 --- a/actionwebservice/test/client_xmlrpc_test.rb +++ b/actionwebservice/test/client_xmlrpc_test.rb @@ -83,4 +83,10 @@ class TC_ClientXmlRpc < Test::Unit::TestCase def test_client_container assert_equal(50, ClientContainer.new.get_client.client_container) end + + def test_named_parameters + assert(@container.value_named_parameters.nil?) + assert_equal(true, @client.named_parameters("xxx", 7)) + assert_equal(["xxx", 7], @container.value_named_parameters) + end end |