aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-10 20:16:55 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-10 21:30:50 -0500
commit21be1dcffa98321fc999e39d11e902d717affad1 (patch)
tree9d294c9b58c8d002a3899a07da149be052a21648 /actionpack
parent673f73b53822a8a94bac0b6d4ffc485f6eaeb9cd (diff)
downloadrails-21be1dcffa98321fc999e39d11e902d717affad1.tar.gz
rails-21be1dcffa98321fc999e39d11e902d717affad1.tar.bz2
rails-21be1dcffa98321fc999e39d11e902d717affad1.zip
Relative url generations are covered more thoroughly by url rewriter tests
Diffstat (limited to 'actionpack')
-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 32d60d8b7a..f3eef58f46 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -240,18 +240,6 @@ class LegacyRouteSetTests < Test::Unit::TestCase
x.send(:home_url))
end
- def test_basic_named_route_with_relative_url_root
- rs.draw do |map|
- map.home '', :controller => 'content', :action => 'list'
- end
- x = setup_for_named_route
- ActionController::Base.relative_url_root = "/foo"
- assert_equal("http://test.host/foo/",
- x.send(:home_url))
- assert_equal "/foo/", x.send(:home_path)
- ActionController::Base.relative_url_root = nil
- end
-
def test_named_route_with_option
rs.draw do |map|
map.page 'page/:title', :controller => 'content', :action => 'show_page'