aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-07-13 06:25:45 +0000
committerLeon Breedt <bitserf@gmail.com>2005-07-13 06:25:45 +0000
commitb7f3751ce04e144f0794cc817ec13d850ceb6fd8 (patch)
treecbfe86bdcd6c39abbc6bdab42f7ea1234cd15b84 /actionwebservice
parentdfc422b784d3f62daa5a876d65b0ac983c33408a (diff)
downloadrails-b7f3751ce04e144f0794cc817ec13d850ceb6fd8.tar.gz
rails-b7f3751ce04e144f0794cc817ec13d850ceb6fd8.tar.bz2
rails-b7f3751ce04e144f0794cc817ec13d850ceb6fd8.zip
make sure that we get back a SOAPString when $KCODE is UTF-8
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice')
-rw-r--r--actionwebservice/test/dispatcher_action_controller_soap_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionwebservice/test/dispatcher_action_controller_soap_test.rb b/actionwebservice/test/dispatcher_action_controller_soap_test.rb
index 16a20ea73e..681c7c548b 100644
--- a/actionwebservice/test/dispatcher_action_controller_soap_test.rb
+++ b/actionwebservice/test/dispatcher_action_controller_soap_test.rb
@@ -71,6 +71,8 @@ class TC_DispatcherActionControllerSoap < Test::Unit::TestCase
@direct_controller.web_service_exception_reporting = true
$KCODE = 'u'
assert_equal(Utf8String, do_method_call(@direct_controller, 'TestUtf8'))
+ retval = SOAP::Processor.unmarshal(@response_body).body.response
+ assert retval.is_a?(SOAP::SOAPString)
# If $KCODE is not set to UTF-8, any strings with non-ASCII UTF-8 data
# will be sent back as base64 by SOAP4R. By the time we get it here though,