From a61360688cd0e1f43f523866384d0d0796a4ea73 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 20 Mar 2005 22:02:22 +0000 Subject: Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/url_helper_test.rb | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'actionpack/test/template/url_helper_test.rb') diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index 8e0016f0fd..32b98eb5dc 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -36,28 +36,6 @@ class UrlHelperTest < Test::Unit::TestCase ) end - def test_link_image_to - assert_equal( - "\"Rss\"", - link_image_to("rss", "http://www.example.com", "size" => "30x45", "border" => "0") - ) - - assert_equal( - "\"Rss\"", - link_to(image_tag("rss", :size => "30x45", :border => 0), "http://www.example.com") - ) - - assert_equal( - "\"Feed\"", - link_image_to("rss.gif", "http://www.example.com", "size" => "30x45", "alt" => "Feed", "class" => "admin") - ) - - assert_equal link_image_to("rss", "http://www.example.com", "size" => "30x45"), - link_image_to("rss", "http://www.example.com", :size => "30x45") - assert_equal link_image_to("rss.gif", "http://www.example.com", "size" => "30x45", "alt" => "Feed", "class" => "admin"), - link_image_to("rss.gif", "http://www.example.com", :size => "30x45", :alt => "Feed", :class => "admin") - end - def test_link_to_unless assert_equal "Showing", link_to_unless(true, "Showing", :action => "show", :controller => "weblog") assert "Listing", link_to_unless(false, "Listing", :action => "list", :controller => "weblog") -- cgit v1.2.3