提交 bf12c350 编写于 作者: C Carlos Antonio da Silva

Remove deprecated Rails application fallback for integration testing

Set ActionDispatch.test_app instead.
上级 b990921f
* Remove deprecated Rails application fallback for integration testing, set
`ActionDispatch.test_app` instead.
*Carlos Antonio da Silva*
* Remove deprecated `page_cache_extension` config.
*Francesco Rodriguez*
......
......@@ -489,10 +489,6 @@ class IntegrationTest < ActiveSupport::TestCase
@@app = nil
def self.app
if !@@app && !ActionDispatch.test_app
ActiveSupport::Deprecation.warn "Rails application fallback is deprecated and no longer works, please set ActionDispatch.test_app"
end
@@app || ActionDispatch.test_app
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册