diff options
author | Yehuda Katz <yehudakatz@YK.local> | 2010-02-26 22:47:36 -0800 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-26 22:47:36 -0800 |
commit | 3f0ed205e721008759297909f1f224ebd58c6673 (patch) | |
tree | c4060a443dc73fb2ce6bd0536d745d2c7e25641c | |
parent | 4bdc783d37b82b739c5ddcc828d3a253873f6629 (diff) | |
download | rails-3f0ed205e721008759297909f1f224ebd58c6673.tar.gz rails-3f0ed205e721008759297909f1f224ebd58c6673.tar.bz2 rails-3f0ed205e721008759297909f1f224ebd58c6673.zip |
Remind us that RoutingAssertions should work in an integration context
-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) |