mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #15061 from tgxworld/remove_unnecessary_include
Remove unnecessary include for integration tests.
This commit is contained in:
commit
29f8eae3fa
3 changed files with 0 additions and 8 deletions
|
@ -269,12 +269,6 @@ module ActionDispatch
|
|||
path = location.query ? "#{location.path}?#{location.query}" : location.path
|
||||
end
|
||||
|
||||
unless ActionController::Base < ActionController::Testing
|
||||
ActionController::Base.class_eval do
|
||||
include ActionController::Testing
|
||||
end
|
||||
end
|
||||
|
||||
hostname, port = host.split(':')
|
||||
|
||||
env = {
|
||||
|
|
|
@ -251,7 +251,6 @@ end
|
|||
|
||||
module ActionController
|
||||
class Base
|
||||
include ActionController::Testing
|
||||
# This stub emulates the Railtie including the URL helpers from a Rails application
|
||||
include SharedTestRoutes.url_helpers
|
||||
include SharedTestRoutes.mounted_helpers
|
||||
|
|
|
@ -274,7 +274,6 @@ ActionView::RoutingUrlFor.send(:include, ActionDispatch::Routing::UrlFor)
|
|||
|
||||
module ActionController
|
||||
class Base
|
||||
include ActionController::Testing
|
||||
# This stub emulates the Railtie including the URL helpers from a Rails application
|
||||
include SharedTestRoutes.url_helpers
|
||||
include SharedTestRoutes.mounted_helpers
|
||||
|
|
Loading…
Reference in a new issue