aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-09-09 23:00:17 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-09-09 23:00:17 +0000
commit46f217b2988a03c977d074565a7d3ac17c789751 (patch)
tree2147831a477bf6563485c35219f14dd6f2b93f38 /actionpack/test/controller
parentf7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c (diff)
downloadrails-46f217b2988a03c977d074565a7d3ac17c789751.tar.gz
rails-46f217b2988a03c977d074565a7d3ac17c789751.tar.bz2
rails-46f217b2988a03c977d074565a7d3ac17c789751.zip
Removed deprecated form of calling xml_http_request/xhr without the first argument being the http verb [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/integration_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb
index 6212109c02..d4b3862b2c 100644
--- a/actionpack/test/controller/integration_test.rb
+++ b/actionpack/test/controller/integration_test.rb
@@ -130,16 +130,6 @@ class SessionTest < Test::Unit::TestCase
@session.head(path,params,headers)
end
- def test_xml_http_request_deprecated_call
- path = "/index"; params = "blah"; headers = {:location => 'blah'}
- headers_after_xhr = headers.merge(
- "X-Requested-With" => "XMLHttpRequest",
- "Accept" => "text/javascript, text/html, application/xml, text/xml, */*"
- )
- @session.expects(:process).with(:post,path,params,headers_after_xhr)
- assert_deprecated { @session.xml_http_request(path,params,headers) }
- end
-
def test_xml_http_request_get
path = "/index"; params = "blah"; headers = {:location => 'blah'}
headers_after_xhr = headers.merge(