aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/ws
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-03-28 03:20:13 +0000
committerLeon Breedt <bitserf@gmail.com>2005-03-28 03:20:13 +0000
commit594063f23cf8e7cecd24329e801992784f420b55 (patch)
treed52e9a6fc0521d51fcc3875162adf0411ee6caa0 /actionwebservice/test/ws
parent439a216dcb65ac83d86ca04bb898e1797a87ce70 (diff)
downloadrails-594063f23cf8e7cecd24329e801992784f420b55.tar.gz
rails-594063f23cf8e7cecd24329e801992784f420b55.tar.bz2
rails-594063f23cf8e7cecd24329e801992784f420b55.zip
generalize casting code to be used by both SOAP and XML-RPC (previously only XML-RPC). switch
to better model for API methods, and improve the ability to generate protocol requests/response, will be required by upcoming scaffolding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/test/ws')
-rw-r--r--actionwebservice/test/ws/soap_marshaling_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionwebservice/test/ws/soap_marshaling_test.rb b/actionwebservice/test/ws/soap_marshaling_test.rb
index 7c7413190e..f350ad1124 100644
--- a/actionwebservice/test/ws/soap_marshaling_test.rb
+++ b/actionwebservice/test/ws/soap_marshaling_test.rb
@@ -30,6 +30,12 @@ class SoapMarshalingTest < Test::Unit::TestCase
marshaler.unmarshal(nil)
end
assert_equal(nil, marshaler.register_type(nil))
+ assert_raises(NotImplementedError) do
+ marshaler.cast_inbound_recursive(nil, nil)
+ end
+ assert_raises(NotImplementedError) do
+ marshaler.cast_outbound_recursive(nil, nil)
+ end
end
def test_marshaling