aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/client_soap_test.rb
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-02-19 09:07:35 +0000
committerLeon Breedt <bitserf@gmail.com>2005-02-19 09:07:35 +0000
commit5f3f44e76fdf465910b7c6521568bb6a1e8bd641 (patch)
tree5cb537bd1e1789f57ccc31e2f34e351b1c1ef0dc /actionwebservice/test/client_soap_test.rb
parent418d487020d24e69b528fdbedfecb20a87f99fcb (diff)
downloadrails-5f3f44e76fdf465910b7c6521568bb6a1e8bd641.tar.gz
rails-5f3f44e76fdf465910b7c6521568bb6a1e8bd641.tar.bz2
rails-5f3f44e76fdf465910b7c6521568bb6a1e8bd641.zip
ensure clients can handle APIs with named parameter signatures,
and test for this git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/test/client_soap_test.rb')
-rw-r--r--actionwebservice/test/client_soap_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionwebservice/test/client_soap_test.rb b/actionwebservice/test/client_soap_test.rb
index 82ccef6f1b..5d62b05c82 100644
--- a/actionwebservice/test/client_soap_test.rb
+++ b/actionwebservice/test/client_soap_test.rb
@@ -84,4 +84,10 @@ class TC_ClientSoap < 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(@client.named_parameters("key", 5).nil?)
+ assert_equal(["key", 5], @container.value_named_parameters)
+ end
end