diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-20 16:03:55 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-20 16:03:55 -0500 |
commit | a5c82a9dfb6d63bf90a3378da0b71d6ea592d7e3 (patch) | |
tree | 8dd54db8e9028021cfbff8b6aaed298b48b4d94a /actionpack/test/template | |
parent | 207d0483e57b8d017ddd0c225d30a3e4fc9edc0c (diff) | |
download | rails-a5c82a9dfb6d63bf90a3378da0b71d6ea592d7e3.tar.gz rails-a5c82a9dfb6d63bf90a3378da0b71d6ea592d7e3.tar.bz2 rails-a5c82a9dfb6d63bf90a3378da0b71d6ea592d7e3.zip |
Start rewriting some internal tests to use the new routing dsl
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/test_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/template/test_test.rb b/actionpack/test/template/test_test.rb index 05a14f3554..68e790cf46 100644 --- a/actionpack/test/template/test_test.rb +++ b/actionpack/test/template/test_test.rb @@ -48,8 +48,7 @@ class PeopleHelperTest < ActionView::TestCase def with_test_route_set with_routing do |set| set.draw do |map| - map.people 'people', :controller => 'people', :action => 'index' - map.connect ':controller/:action/:id' + match 'people', :to => 'people#index', :as => :people end yield end |