1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove deprecated Rails application fallback for integration testing

Set ActionDispatch.test_app instead.
This commit is contained in:
Carlos Antonio da Silva 2013-07-02 22:59:59 -03:00
parent b990921f05
commit bf12c35087
2 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,8 @@
* 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*

View file

@ -489,10 +489,6 @@ module ActionDispatch
@@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