diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-10-19 00:52:55 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-10-19 00:52:55 +0000 |
commit | b1c3fc22c9496d29685b37f0fb2c2df10bdd927a (patch) | |
tree | 92a8eac91641b8bd4048aed22b40a107a1b18d11 /actionpack/test | |
parent | 2fac5d1a8b1ebba367058aaf465f709888c44877 (diff) | |
download | rails-b1c3fc22c9496d29685b37f0fb2c2df10bdd927a.tar.gz rails-b1c3fc22c9496d29685b37f0fb2c2df10bdd927a.tar.bz2 rails-b1c3fc22c9496d29685b37f0fb2c2df10bdd927a.zip |
Rename image_path path_to_image to avoid conflicting with named routes. Closes #9924 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/asset_tag_helper_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index 1463ee1dce..b4a7567aef 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -158,6 +158,10 @@ class AssetTagHelperTest < Test::Unit::TestCase ImagePathToTag.each { |method, tag| assert_dom_equal(tag, eval(method)) } end + def test_path_to_image_alias_for_image_path + ImagePathToTag.each { |method, tag| assert_dom_equal(tag, eval(method)) } + end + def test_image_tag ImageLinkToTag.each { |method, tag| assert_dom_equal(tag, eval(method)) } end |