diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-01 23:22:11 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-01 23:22:11 -0800 |
commit | ea4fd64133998ce5d6791e0cd98e42f1463ae301 (patch) | |
tree | a6c4ce917d29049a7855acf350e1b24ab00a9751 /actionpack/lib | |
parent | f221a6f19f4cee31e2d103ea9a1930f59223fc25 (diff) | |
download | rails-ea4fd64133998ce5d6791e0cd98e42f1463ae301.tar.gz rails-ea4fd64133998ce5d6791e0cd98e42f1463ae301.tar.bz2 rails-ea4fd64133998ce5d6791e0cd98e42f1463ae301.zip |
Revert orphaned SharedTestRoutes
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/test_case.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb index f6f4e18a4a..af2ed33f3f 100644 --- a/actionpack/lib/action_view/test_case.rb +++ b/actionpack/lib/action_view/test_case.rb @@ -53,7 +53,6 @@ module ActionView setup :setup_with_controller def setup_with_controller @controller = TestController.new - @router = SharedTestRoutes @output_buffer = ActiveSupport::SafeBuffer.new @rendered = '' @@ -153,7 +152,7 @@ module ActionView end def method_missing(selector, *args) - if @router.named_routes.helpers.include?(selector) + if ActionDispatch::Routing::Routes.named_routes.helpers.include?(selector) @controller.__send__(selector, *args) else super |