aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-08-15 18:08:46 -0500
committerJoshua Peek <josh@joshpeek.com>2009-08-15 18:08:46 -0500
commit911acc10de483e0d7a9e6b3c475aeaecad49bfc5 (patch)
tree93717d81d45c3f5aa74440f391ed83952ba4bb35 /actionpack/test/controller/routing_test.rb
parentdf6617bc8ac1677ab2b2cf7ed2859cdcc393ccb5 (diff)
downloadrails-911acc10de483e0d7a9e6b3c475aeaecad49bfc5.tar.gz
rails-911acc10de483e0d7a9e6b3c475aeaecad49bfc5.tar.bz2
rails-911acc10de483e0d7a9e6b3c475aeaecad49bfc5.zip
Axe "best fit" generation support
Diffstat (limited to 'actionpack/test/controller/routing_test.rb')
-rw-r--r--actionpack/test/controller/routing_test.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index 000f35e0f2..33fb6ac017 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -1411,18 +1411,6 @@ class RouteSetTest < ActiveSupport::TestCase
Object.send(:remove_const, :Api)
end
- def test_generate_finds_best_fit
- set.draw do |map|
- map.connect "/people", :controller => "people", :action => "index"
- map.connect "/ws/people", :controller => "people", :action => "index", :ws => true
- end
-
- assert_deprecated {
- url = set.generate(:controller => "people", :action => "index", :ws => true)
- assert_equal "/ws/people", url
- }
- end
-
def test_generate_changes_controller_module
set.draw { |map| map.connect ':controller/:action/:id' }
current = { :controller => "bling/bloop", :action => "bap", :id => 9 }