diff options
Diffstat (limited to 'actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb')
-rw-r--r-- | actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb b/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb index 95c9333954..8add576620 100644 --- a/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +++ b/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb @@ -28,7 +28,8 @@ class TC_DispatcherActionControllerXmlRpc < Test::Unit::TestCase {'methodName' => 'mt.alwaysFail'}, {'methodName' => 'blogger.alwaysFail'}, {'methodName' => 'mt.blah'}, - {'methodName' => 'blah.blah'} + {'methodName' => 'blah.blah'}, + {'methodName' => 'mt.person'} ]) assert_equal [ [["mtCat1", "mtCat2"]], @@ -38,7 +39,8 @@ class TC_DispatcherActionControllerXmlRpc < Test::Unit::TestCase {"faultCode" => 3, "faultString" => "MT AlwaysFail"}, {"faultCode" => 3, "faultString" => "Blogger AlwaysFail"}, {"faultCode" => 4, "faultMessage" => "no such method 'blah' on API DispatcherTest::MTAPI"}, - {"faultCode" => 4, "faultMessage" => "no such web service 'blah'"} + {"faultCode" => 4, "faultMessage" => "no such web service 'blah'"}, + [{"name"=>"person1", "id"=>1}] ], response end |