diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-01-27 14:12:32 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-01-27 14:12:32 -0500 |
commit | e5e42a3687801a1dc1c3e36ea784a7a1479a9230 (patch) | |
tree | a8c790b1f48ea11e0d22b0f216e365346bacb1ff /actionview/test | |
parent | 96249afa62af0b528e4b7043e05397d3bc4d96c8 (diff) | |
download | rails-e5e42a3687801a1dc1c3e36ea784a7a1479a9230.tar.gz rails-e5e42a3687801a1dc1c3e36ea784a7a1479a9230.tar.bz2 rails-e5e42a3687801a1dc1c3e36ea784a7a1479a9230.zip |
Add tests to #23288
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/asset_tag_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/test/template/asset_tag_helper_test.rb b/actionview/test/template/asset_tag_helper_test.rb index 8592a2a083..8bfd19eb26 100644 --- a/actionview/test/template/asset_tag_helper_test.rb +++ b/actionview/test/template/asset_tag_helper_test.rb @@ -459,6 +459,7 @@ class AssetTagHelperTest < ActionView::TestCase [nil, '/', '/foo/bar/', 'foo/bar/'].each do |prefix| assert_equal 'Rails', image_alt("#{prefix}rails.png") assert_equal 'Rails', image_alt("#{prefix}rails-9c0a079bdd7701d7e729bd956823d153.png") + assert_equal 'Rails', image_alt("#{prefix}rails-f56ef62bc41b040664e801a38f068082a75d506d9048307e8096737463503d0b.png") assert_equal 'Long file name with hyphens', image_alt("#{prefix}long-file-name-with-hyphens.png") assert_equal 'Long file name with underscores', image_alt("#{prefix}long_file_name_with_underscores.png") end |