diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-17 02:04:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-17 02:04:37 +0000 |
commit | 6a48e89ae7811904822eb203ad9f54897e460f07 (patch) | |
tree | 44a480f138ad71d5f93b7ffe5074d4d09e8ae45d /actionpack/test/controller | |
parent | ead404ccd0f8e384409835ec4c5b770c06c1e178 (diff) | |
download | rails-6a48e89ae7811904822eb203ad9f54897e460f07.tar.gz rails-6a48e89ae7811904822eb203ad9f54897e460f07.tar.bz2 rails-6a48e89ae7811904822eb203ad9f54897e460f07.zip |
Fix that routes werent being loaded in production environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/routing_tests.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/test/controller/routing_tests.rb b/actionpack/test/controller/routing_tests.rb index 5a8df3a3f4..821e66af70 100644 --- a/actionpack/test/controller/routing_tests.rb +++ b/actionpack/test/controller/routing_tests.rb @@ -403,6 +403,13 @@ class RouteSetTests < Test::Unit::TestCase @set.connect ':action/:controller' verify_generate('index/resource', options) end + + def test_action_dropped_when_controller_given + @request.path_parameters = {:controller => 'content', :action => 'list'} + options = {:controller => 'content'} + @set.connect ':action/:controller' + verify_generate('index/content', options) + end end #require '../assertions/action_pack_assertions.rb' |