diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-17 22:20:09 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-17 22:20:09 +0000 |
commit | d4b27a0b36109c6ded5dba57db63d4ff12ec74d1 (patch) | |
tree | 9676cce672fec31da46a8de358e68c152e44528e /actionwebservice/test/client_soap_test.rb | |
parent | d712310518dcfe42966e7de936794c9a816b0e21 (diff) | |
download | rails-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.rb | 7 |
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 |