diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-08-14 17:27:28 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-08-14 17:27:28 +0000 |
commit | 056838d2fc959ab71f598dee8b8b0691608f8a72 (patch) | |
tree | dadd955f7b3a77ade0b28612294ed4f1f6a125be /actionwebservice/lib/action_web_service/test_invoke.rb | |
parent | 639d03bbb76f0252ec19418ca7376a872840b8d4 (diff) | |
download | rails-056838d2fc959ab71f598dee8b8b0691608f8a72.tar.gz rails-056838d2fc959ab71f598dee8b8b0691608f8a72.tar.bz2 rails-056838d2fc959ab71f598dee8b8b0691608f8a72.zip |
Allow multiple invocations in the same WS test #1720
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/test_invoke.rb')
-rw-r--r-- | actionwebservice/lib/action_web_service/test_invoke.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/test_invoke.rb b/actionwebservice/lib/action_web_service/test_invoke.rb index cd9cb115ff..dd608e2d78 100644 --- a/actionwebservice/lib/action_web_service/test_invoke.rb +++ b/actionwebservice/lib/action_web_service/test_invoke.rb @@ -29,6 +29,7 @@ module Test # :nodoc: # ---------------------- internal --------------------------- def prepare_request(action, service_name, api_method_name, *args) + @request.recycle! @request.request_parameters['action'] = action @request.env['REQUEST_METHOD'] = 'POST' @request.env['HTTP_CONTENT_TYPE'] = 'text/xml' |