aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-01-03 20:00:40 +0100
committerJosé Valim <jose.valim@gmail.com>2012-01-03 20:09:11 +0100
commit49b6b4994eb68a5d9c02478c7ee988101cfb198c (patch)
tree5706a6747c919c4f2c4c0c6cac0913b51cf6080f /actionpack/test/controller
parent439d3407eaef1f1b3abc94c766dedac220e59785 (diff)
downloadrails-49b6b4994eb68a5d9c02478c7ee988101cfb198c.tar.gz
rails-49b6b4994eb68a5d9c02478c7ee988101cfb198c.tar.bz2
rails-49b6b4994eb68a5d9c02478c7ee988101cfb198c.zip
Clean up routes inclusion and add some comments for the next soul that decides to adventure on this code.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/action_pack_assertions_test.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb
index fab70c71d6..bdbf158b36 100644
--- a/actionpack/test/controller/action_pack_assertions_test.rb
+++ b/actionpack/test/controller/action_pack_assertions_test.rb
@@ -159,20 +159,6 @@ class ActionPackAssertionsControllerTest < ActionController::TestCase
assert_equal @response.body, 'request method: GET'
end
- def test_redirect_to_named_route
- with_routing do |set|
- set.draw do
- match 'route_one', :to => 'action_pack_assertions#nothing', :as => :route_one
- match ':controller/:action'
- end
- set.install_helpers([ActionController::Base, ActionView::Base])
-
- process :redirect_to_named_route
- assert_redirected_to 'http://test.host/route_one'
- assert_redirected_to route_one_url
- end
- end
-
def test_string_constraint
with_routing do |set|
set.draw do