From 3fb29b172fb1ab0b84fd69747b62711ed5cdf4ca Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 2 Mar 2006 01:54:53 +0000 Subject: Fixed that default image extension was not appended when using a full URL with AssetTagHelper#image_tag (closes #4032, #3728) [rubyonrails@beautifulpixel.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/asset_tag_helper_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index a4e1795b3e..bc7e3e0f7a 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -76,7 +76,8 @@ class AssetTagHelperTest < Test::Unit::TestCase %(image_tag("xml")) => %(Xml), %(image_tag("rss", :alt => "rss syndication")) => %(rss syndication), %(image_tag("gold", :size => "45x70")) => %(Gold), - %(image_tag("symbolize", "size" => "45x70")) => %(Symbolize) + %(image_tag("symbolize", "size" => "45x70")) => %(Symbolize), + %(image_tag("http://www.rubyonrails.com/images/rails")) => %(Rails) } def test_auto_discovery -- cgit v1.2.3