Delegate xml_http_request in integration tests to the session instance.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck
2006-04-04 20:16:29 +00:00
parent f4382af543
commit 3bf3bc228c
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Delegate xml_http_request in integration tests to the session instance. [Jamis Buck]
* Update the diagnostics template skip the useless '<controller not set>' text. [Nicholas Seckar]
* CHANGED DEFAULT: Don't parse YAML input by default, but keep it available as an easy option [DHH]

View File

@@ -464,7 +464,7 @@ module ActionController
@integration_session = open_session
end
%w(get post cookies assigns).each do |method|
%w(get post cookies assigns xml_http_request).each do |method|
define_method(method) do |*args|
reset! unless @integration_session
returning @integration_session.send(method, *args) do