diff options
Diffstat (limited to 'actionpack/test/controller/webservice_test.rb')
-rw-r--r-- | actionpack/test/controller/webservice_test.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/actionpack/test/controller/webservice_test.rb b/actionpack/test/controller/webservice_test.rb index bcdb3d5eb7..d89de5c8f8 100644 --- a/actionpack/test/controller/webservice_test.rb +++ b/actionpack/test/controller/webservice_test.rb @@ -36,10 +36,13 @@ class WebServiceTest < Test::Unit::TestCase def setup @controller = TestController.new - ActionController::Base.param_parsers.clear - ActionController::Base.param_parsers[Mime::XML] = :xml_simple + @default_param_parsers = ActionController::Base.param_parsers.dup end - + + def teardown + ActionController::Base.param_parsers = @default_param_parsers + end + def test_check_parameters process('GET') assert_equal '', @controller.response.body |