aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/client_soap_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-17 22:20:09 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-17 22:20:09 +0000
commitd4b27a0b36109c6ded5dba57db63d4ff12ec74d1 (patch)
tree9676cce672fec31da46a8de358e68c152e44528e /actionwebservice/test/client_soap_test.rb
parentd712310518dcfe42966e7de936794c9a816b0e21 (diff)
downloadrails-d4b27a0b36109c6ded5dba57db63d4ff12ec74d1.tar.gz
rails-d4b27a0b36109c6ded5dba57db63d4ff12ec74d1.tar.bz2
rails-d4b27a0b36109c6ded5dba57db63d4ff12ec74d1.zip
Fix soap type registration of multidimensional arrays (closes #4232) [Kent]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/test/client_soap_test.rb')
-rw-r--r--actionwebservice/test/client_soap_test.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionwebservice/test/client_soap_test.rb b/actionwebservice/test/client_soap_test.rb
index ee02d919a4..c03c24141f 100644
--- a/actionwebservice/test/client_soap_test.rb
+++ b/actionwebservice/test/client_soap_test.rb
@@ -142,4 +142,11 @@ class TC_ClientSoap < Test::Unit::TestCase
assert_kind_of Accounting::User, scoped_model
assert_equal 'Kent', scoped_model.name
end
+
+ def test_multi_dim_return
+ md_struct = @client.multi_dim_return
+ assert_kind_of Array, md_struct.pref
+ assert_equal 2, md_struct.pref.size
+ assert_kind_of Array, md_struct.pref[0]
+ end
end