aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2010-09-04 16:18:13 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-05 13:44:39 +0200
commit8f2c0bf1a072a5f2e531bef65f13b8981e1ec181 (patch)
treea20bc18e546b146a7512b4b3ed848a9c29f59c29 /actionpack
parentfaba03850acc8adaf9c51004193c85191a4623e8 (diff)
downloadrails-8f2c0bf1a072a5f2e531bef65f13b8981e1ec181.tar.gz
rails-8f2c0bf1a072a5f2e531bef65f13b8981e1ec181.tar.bz2
rails-8f2c0bf1a072a5f2e531bef65f13b8981e1ec181.zip
This test is invalid for new router
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/resources_test.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb
index 0573eac119..70d2ecdc3f 100644
--- a/actionpack/test/controller/resources_test.rb
+++ b/actionpack/test/controller/resources_test.rb
@@ -485,26 +485,6 @@ class ResourcesTest < ActionController::TestCase
end
end
- def test_nested_restful_routes_with_overwritten_defaults
- with_routing do |set|
- set.draw do
- resources :threads do
- resources :messages, :name_prefix => nil do
- resources :comments, :name_prefix => nil
- end
- end
- end
-
- assert_simply_restful_for :threads
- assert_simply_restful_for :messages,
- :path_prefix => 'threads/1/',
- :options => { :thread_id => '1' }
- assert_simply_restful_for :comments,
- :path_prefix => 'threads/1/messages/2/',
- :options => { :thread_id => '1', :message_id => '2' }
- end
- end
-
def test_shallow_nested_restful_routes
with_routing do |set|
set.draw do