diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-13 04:32:45 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-13 04:32:45 +0000 |
commit | 0631400b4a39e45a248caf4785cb3196f6206e9a (patch) | |
tree | 3ce5723cc5ebb757f9baaf6f9d4092f5519c2b91 /actionpack/test/controller | |
parent | cb6d94cc577370b49aac4ad7d2718e78d350a797 (diff) | |
download | rails-0631400b4a39e45a248caf4785cb3196f6206e9a.tar.gz rails-0631400b4a39e45a248caf4785cb3196f6206e9a.tar.bz2 rails-0631400b4a39e45a248caf4785cb3196f6206e9a.zip |
Deprecation: remove deprecated request methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/webservice_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/test/controller/webservice_test.rb b/actionpack/test/controller/webservice_test.rb index e60e3a84cb..2b50088bb4 100644 --- a/actionpack/test/controller/webservice_test.rb +++ b/actionpack/test/controller/webservice_test.rb @@ -98,15 +98,6 @@ class WebServiceTest < Test::Unit::TestCase assert_nothing_raised { process('POST', 'application/xml', "") } assert_equal "", @controller.response.body end - - def test_deprecated_request_methods - process('POST', 'application/x-yaml') - assert_equal Mime::YAML, @controller.request.content_type - assert_equal true, @controller.request.post? - assert_equal :yaml, @controller.request.post_format - assert_equal true, @controller.request.yaml_post? - assert_equal false, @controller.request.xml_post? - end def test_dasherized_keys_as_xml ActionController::Base.param_parsers[Mime::XML] = :xml_simple |