diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-25 10:58:44 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-25 10:58:44 +0000 |
commit | 6f6c6b8bcb78169bcd6dd3aaa1c0410e7b36b567 (patch) | |
tree | cb7ee557ed08ce68043ad3088a6d5166c9b3d5b5 /actionpack/test | |
parent | deda0ee4a8008475629f020e0334f64cc05215c8 (diff) | |
download | rails-6f6c6b8bcb78169bcd6dd3aaa1c0410e7b36b567.tar.gz rails-6f6c6b8bcb78169bcd6dd3aaa1c0410e7b36b567.tar.bz2 rails-6f6c6b8bcb78169bcd6dd3aaa1c0410e7b36b567.zip |
Updated assert_generates/routing to the new Routes code #1498 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/test_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb index 7b35447da5..ec067cc6c0 100644 --- a/actionpack/test/controller/test_test.rb +++ b/actionpack/test/controller/test_test.rb @@ -84,4 +84,8 @@ HTML :children => { :greater_than => 2, :only => { :tag => "li" } } } end + + def test_assert_routing + assert_generates 'controller/action/5', :controller => 'controller', :action => 'action', :id => '5' + end end |