diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 15:44:22 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-26 15:44:22 -0800 |
commit | 3bad24c85d973295df55a04272a4e1829eab4685 (patch) | |
tree | 34e689694ffa51bb9b11fbe0dc37d87ef152ef5e /actionpack/lib/action_dispatch | |
parent | 5797575bac580037e4a9ee686a8bcb7e56b65235 (diff) | |
download | rails-3bad24c85d973295df55a04272a4e1829eab4685.tar.gz rails-3bad24c85d973295df55a04272a4e1829eab4685.tar.bz2 rails-3bad24c85d973295df55a04272a4e1829eab4685.zip |
Remove traces of SharedTestRoutes from user code; leave it as a standin for Rails.application.routes in Rails internal tests
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 12 |
1 files changed, 0 insertions, 12 deletions
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. |