提交 3bf3bc22 编写于 作者: J Jamis Buck

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
上级 f4382af5
*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]
......
......@@ -464,7 +464,7 @@ def reset!
@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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册