aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/railtie.rb1
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb12
2 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/lib/action_controller/railtie.rb b/actionpack/lib/action_controller/railtie.rb
index 268301da64..69ee4b04ec 100644
--- a/actionpack/lib/action_controller/railtie.rb
+++ b/actionpack/lib/action_controller/railtie.rb
@@ -33,7 +33,6 @@ module ActionController
initializer "action_controller.url_helpers" do |app|
ActionController::Base.extend ::ActionController::Railtie::UrlHelpers.with(app.routes)
ActionController::Routing::Routes = app.routes
- ::SharedTestRoutes = app.routes
end
end
end \ No newline at end of file
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index 0bad9c37d6..88667d3570 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -219,18 +219,6 @@ module ActionDispatch
@host = name
end
- # # Returns the URL for the given options, according to the rules specified
- # # in the application's routes.
- # def url_for(options)
- # # ROUTES TODO: @app.router is not guaranteed to exist, so a generic Rack
- # # application will not work here. This means that a generic Rack application
- # # integration test cannot call url_for, since the application will not have
- # # #router on it.
- # controller ?
- # controller.url_for(options) :
- # generic_url_rewriter.rewrite(SharedTestRoutes, options)
- # end
-
private
# Performs the actual request.