From d43392a50b4f7023b13747a67c4a6aa85e4036c4 Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Fri, 4 Mar 2005 10:07:53 +0000 Subject: add action_web_service/test_invoke, will be used by for testing APIs in a Rails project instance. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/test/dispatcher_action_controller_soap_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionwebservice/test/dispatcher_action_controller_soap_test.rb') diff --git a/actionwebservice/test/dispatcher_action_controller_soap_test.rb b/actionwebservice/test/dispatcher_action_controller_soap_test.rb index 6d50bbba8a..dd945972d6 100644 --- a/actionwebservice/test/dispatcher_action_controller_soap_test.rb +++ b/actionwebservice/test/dispatcher_action_controller_soap_test.rb @@ -62,7 +62,7 @@ class TC_DispatcherActionControllerSoap < Test::Unit::TestCase test_request = ActionController::TestRequest.new test_request.request_parameters['action'] = service_name(container) test_request.env['REQUEST_METHOD'] = "POST" - test_request.env['HTTP_CONTENTTYPE'] = 'text/xml' + test_request.env['HTTP_CONTENT_TYPE'] = 'text/xml' test_request.env['HTTP_SOAPACTION'] = "/soap/#{service_name(container)}/#{public_method_name}" test_request.env['RAW_POST_DATA'] = body test_request -- cgit v1.2.3