From 2a31691ee2c02af17471ffa0cdb267a8af633b50 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 22 Sep 2005 11:37:16 +0000 Subject: Fixed that auto_discovery_link_tag couldn't take a string as the URL git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/asset_tag_helper_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/test') diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index 35cc6dd9cc..6e9a2b52ff 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -31,6 +31,7 @@ class AssetTagHelperTest < Test::Unit::TestCase %(auto_discovery_link_tag) => %(), %(auto_discovery_link_tag(:atom)) => %(), %(auto_discovery_link_tag(:rss, :action => "feed")) => %(), + %(auto_discovery_link_tag(:rss, "http://localhost/feed")) => %(), %(auto_discovery_link_tag(:rss, {:action => "feed"}, {:title => "My RSS"})) => %(), %(auto_discovery_link_tag(:rss, {}, {:title => "My RSS"})) => %(), %(auto_discovery_link_tag(nil, {}, {:type => "text/html"})) => %(), -- cgit v1.2.3