diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-01-08 04:09:24 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-01-08 04:09:24 +0000 |
commit | 10d0fcd4ecdb6c9fc48d95c4ccac1cc7455aa707 (patch) | |
tree | fa14d435aa902a85675c6253ad2f83f91143bdc2 /actionpack/test/template | |
parent | 0eabcfd85656908b8c13f4704cb60004a1ebe981 (diff) | |
download | rails-10d0fcd4ecdb6c9fc48d95c4ccac1cc7455aa707.tar.gz rails-10d0fcd4ecdb6c9fc48d95c4ccac1cc7455aa707.tar.bz2 rails-10d0fcd4ecdb6c9fc48d95c4ccac1cc7455aa707.zip |
Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class. Closes #6941 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/asset_tag_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index f730f80a92..bc4f026f7b 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -36,6 +36,7 @@ class AssetTagHelperTest < Test::Unit::TestCase %(auto_discovery_link_tag) => %(<link href="http://www.example.com" rel="alternate" title="RSS" type="application/rss+xml" />), %(auto_discovery_link_tag(:rss)) => %(<link href="http://www.example.com" rel="alternate" title="RSS" type="application/rss+xml" />), %(auto_discovery_link_tag(:atom)) => %(<link href="http://www.example.com" rel="alternate" title="ATOM" type="application/atom+xml" />), + %(auto_discovery_link_tag(:xml)) => %(<link href="http://www.example.com" rel="alternate" title="XML" type="application/xml" />), %(auto_discovery_link_tag(:rss, :action => "feed")) => %(<link href="http://www.example.com" rel="alternate" title="RSS" type="application/rss+xml" />), %(auto_discovery_link_tag(:rss, "http://localhost/feed")) => %(<link href="http://localhost/feed" rel="alternate" title="RSS" type="application/rss+xml" />), %(auto_discovery_link_tag(:rss, {:action => "feed"}, {:title => "My RSS"})) => %(<link href="http://www.example.com" rel="alternate" title="My RSS" type="application/rss+xml" />), |