From ed0ca5db9ea247ceae67f22a750cbd49006f35ed Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sat, 24 Apr 2010 19:17:30 -0300 Subject: Add a test for assert_recognizes on ActionDispatch::IntegrationTest [#4390 state:committed] Signed-off-by: Jeremy Kemper --- actionpack/test/dispatch/routing_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actionpack/test/dispatch') diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 5bca476b27..f67e403330 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -1000,6 +1000,12 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest end end + def test_assert_recognizes_account_overview + with_test_routes do + assert_recognizes({:controller => "account", :action => "overview"}, "/account/overview") + end + end + private def with_test_routes yield -- cgit v1.2.3