Skip to content
Browse files

Remove deprecated Rails application fallback for integration testing

Set ActionDispatch.test_app instead.
  • Loading branch information...
1 parent b990921 commit bf12c35087b1112b37340274104ff1ec62b3c118 @carlosantoniodasilva carlosantoniodasilva committed
Showing with 5 additions and 4 deletions.
  1. +5 −0 actionpack/CHANGELOG.md
  2. +0 −4 actionpack/lib/action_dispatch/testing/integration.rb
View
5 actionpack/CHANGELOG.md
@@ -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
4 actionpack/lib/action_dispatch/testing/integration.rb
@@ -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

0 comments on commit bf12c35

Please sign in to comment.
Something went wrong with that request. Please try again.