Permalink
Browse files

Remind us that RoutingAssertions should work in an integration context

  • Loading branch information...
1 parent 4bdc783 commit 3f0ed205e721008759297909f1f224ebd58c6673 Yehuda Katz committed Feb 27, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/testing/assertions/routing.rb
@@ -152,6 +152,7 @@ def with_routing
@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)

0 comments on commit 3f0ed20

Please sign in to comment.