Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Drop support for routing :generate_all

  • Loading branch information...
commit 20f0b33035aeb1ca8ca7bdfb98371b58c6fd10c1 1 parent d504138
@josh josh authored
Showing with 0 additions and 14 deletions.
  1. +0 −14 actionpack/test/controller/routing_test.rb
View
14 actionpack/test/controller/routing_test.rb
@@ -1407,20 +1407,6 @@ def test_expiry_determination_should_consider_values_with_to_param
{:controller => 'post', :action => 'show', :project_id => '1'})
end
- def test_generate_all
- set.draw do |map|
- map.connect 'show_post/:id', :controller => 'post', :action => 'show'
- map.connect ':controller/:action/:id'
- end
- all = set.generate(
- {:action => 'show', :id => 10, :generate_all => true},
- {:controller => 'post', :action => 'show'}
- )
- assert_equal 2, all.length
- assert_equal '/show_post/10', all.first
- assert_equal '/post/show/10', all.last
- end
-
def test_named_route_in_nested_resource
set.draw do |map|
map.resources :projects do |project|
Please sign in to comment.
Something went wrong with that request. Please try again.