mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user