aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_test.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-04-24 19:17:30 -0300
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-24 15:43:12 -0700
commited0ca5db9ea247ceae67f22a750cbd49006f35ed (patch)
treec5cdd0610b8c11a5591303185c0896c03199d2dd /actionpack/test/dispatch/routing_test.rb
parent5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc (diff)
downloadrails-ed0ca5db9ea247ceae67f22a750cbd49006f35ed.tar.gz
rails-ed0ca5db9ea247ceae67f22a750cbd49006f35ed.tar.bz2
rails-ed0ca5db9ea247ceae67f22a750cbd49006f35ed.zip
Add a test for assert_recognizes on ActionDispatch::IntegrationTest [#4390 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r--actionpack/test/dispatch/routing_test.rb6
1 files changed, 6 insertions, 0 deletions
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