diff options
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index 726da2ee07..1d7e8090e4 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -152,6 +152,7 @@ module ActionDispatch @controller = old_controller if @controller end + # ROUTES TODO: These assertions should really work in an integration context def method_missing(selector, *args, &block) if @controller && @router.named_routes.helpers.include?(selector) @controller.send(selector, *args, &block) |