Skip to content

Commit

Permalink
Remove unnecessary include for integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxworld committed May 11, 2014
1 parent d4fafeb commit da290fa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions actionpack/lib/action_dispatch/testing/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,6 @@ def process(method, path, parameters = nil, headers_or_env = nil)
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 = {
Expand Down
1 change: 0 additions & 1 deletion actionpack/test/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ def assert_header(name, value)

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
Expand Down
1 change: 0 additions & 1 deletion actionview/test/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ def assert_header(name, value)

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
Expand Down

0 comments on commit da290fa

Please sign in to comment.