aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/url_rewriter_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-26 20:26:55 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-26 20:26:55 +0100
commit7d8f9ef0517c5e83b0e6042c3747e9cfe2b0a4ca (patch)
tree9a1457c6289704b3f72e651b3ab3654856a2bea3 /actionpack/test/controller/url_rewriter_test.rb
parente2362babdf16079727966dea046bdd2ee67e716d (diff)
downloadrails-7d8f9ef0517c5e83b0e6042c3747e9cfe2b0a4ca.tar.gz
rails-7d8f9ef0517c5e83b0e6042c3747e9cfe2b0a4ca.tar.bz2
rails-7d8f9ef0517c5e83b0e6042c3747e9cfe2b0a4ca.zip
Fix routing test and add changelog note about draw no longer clearing the route set
Diffstat (limited to 'actionpack/test/controller/url_rewriter_test.rb')
-rw-r--r--actionpack/test/controller/url_rewriter_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/url_rewriter_test.rb b/actionpack/test/controller/url_rewriter_test.rb
index bb714a0245..e9d372544e 100644
--- a/actionpack/test/controller/url_rewriter_test.rb
+++ b/actionpack/test/controller/url_rewriter_test.rb
@@ -302,6 +302,7 @@ class UrlWriterTests < ActionController::TestCase
end
def test_named_routes_with_nil_keys
+ ActionController::Routing::Routes.clear!
add_host!
ActionController::Routing::Routes.draw do |map|
map.main '', :controller => 'posts'