diff options
author | wycats <wycats@gmail.com> | 2010-03-08 21:08:31 -0800 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-09 10:20:56 -0800 |
commit | de79525d045b6ea2d83f325bdeeb9380510d045c (patch) | |
tree | c4b48947e98ced7b94b8332f01e4da626de93237 /actionpack/test/template/url_helper_test.rb | |
parent | c507e16dba844c7b066d145bfd5c5d23e7a9c5ad (diff) | |
download | rails-de79525d045b6ea2d83f325bdeeb9380510d045c.tar.gz rails-de79525d045b6ea2d83f325bdeeb9380510d045c.tar.bz2 rails-de79525d045b6ea2d83f325bdeeb9380510d045c.zip |
Get rid of the instance-level URL rewriter
Diffstat (limited to 'actionpack/test/template/url_helper_test.rb')
-rw-r--r-- | actionpack/test/template/url_helper_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index 38ab5521fe..165cb655da 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -122,7 +122,6 @@ class UrlHelperTest < ActionView::TestCase url = {:controller => 'weblog', :action => 'show'} @controller = ActionController::Base.new @controller.request = ActionController::TestRequest.new - @controller.url = ActionController::UrlRewriter.new(@controller.request, url) assert_dom_equal(%q{<a href="/weblog/show">Test Link</a>}, link_to('Test Link', url)) end @@ -131,7 +130,6 @@ class UrlHelperTest < ActionView::TestCase url = {:controller => 'weblog', :action => 'show', :host => 'www.example.com'} @controller = ActionController::Base.new @controller.request = ActionController::TestRequest.new - @controller.url = ActionController::UrlRewriter.new(@controller.request, url) assert_dom_equal(%q{<a href="http://www.example.com/weblog/show">Test Link</a>}, link_to('Test Link', url)) end |