aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorThiago Pradi <thiago.pradi@gmail.com>2012-02-12 03:09:03 -0200
committerThiago Pradi <thiago.pradi@gmail.com>2012-02-12 03:09:03 -0200
commitc0a1a86693db474fa65ddba0fa34558f2ce5ab90 (patch)
tree960489e69231088a4ff8a07e8bd2dbfea715b004 /actionpack/test/controller
parent5138a8f254b865c2cf97b61848b640783366d26b (diff)
downloadrails-c0a1a86693db474fa65ddba0fa34558f2ce5ab90.tar.gz
rails-c0a1a86693db474fa65ddba0fa34558f2ce5ab90.tar.bz2
rails-c0a1a86693db474fa65ddba0fa34558f2ce5ab90.zip
Cleaning Route generation tests
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/routing_test.rb30
1 files changed, 0 insertions, 30 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index 44a40e0665..d403494261 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -242,36 +242,6 @@ class LegacyRouteSetTests < ActiveSupport::TestCase
test_default_setup
end
- def test_time_recognition
- # We create many routes to make situation more realistic
- @rs = ::ActionDispatch::Routing::RouteSet.new
- @rs.draw {
- root :to => "search#new", :as => "frontpage"
- resources :videos do
- resources :comments
- resource :file, :controller => 'video_file'
- resource :share, :controller => 'video_shares'
- resource :abuse, :controller => 'video_abuses'
- end
- resources :abuses, :controller => 'video_abuses'
- resources :video_uploads
- resources :video_visits
-
- resources :users do
- resource :settings
- resources :videos
- end
- resources :channels do
- resources :videos, :controller => 'channel_videos'
- end
- resource :session
- resource :lost_password
- match 'search' => 'search#index', :as => 'search'
- resources :pages
- match ':controller/:action/:id'
- }
- end
-
def test_route_with_colon_first
rs.draw do
match '/:controller/:action/:id', :action => 'index', :id => nil