diff options
author | Richard Schneeman <richard.schneeman@gmail.com> | 2015-12-17 07:56:06 -0600 |
---|---|---|
committer | Richard Schneeman <richard.schneeman@gmail.com> | 2015-12-17 07:56:06 -0600 |
commit | 76c1c8c57a1737eb3bfd6071211ced08896eea6c (patch) | |
tree | 3643805a842ba483a9ed1c12b6952d252c24a348 | |
parent | 7a53a9c13c997771797874b7549d389ced0be7b2 (diff) | |
parent | 21208d2ab0ab98426069dfc0c86f5dd1a2876b8c (diff) | |
download | rails-76c1c8c57a1737eb3bfd6071211ced08896eea6c.tar.gz rails-76c1c8c57a1737eb3bfd6071211ced08896eea6c.tar.bz2 rails-76c1c8c57a1737eb3bfd6071211ced08896eea6c.zip |
Merge pull request #22621 from akshay-vishnoi/add-missing-tests
Add missing test cases for asset_path
-rw-r--r-- | actionview/test/template/asset_tag_helper_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionview/test/template/asset_tag_helper_test.rb b/actionview/test/template/asset_tag_helper_test.rb index fe40010528..8592a2a083 100644 --- a/actionview/test/template/asset_tag_helper_test.rb +++ b/actionview/test/template/asset_tag_helper_test.rb @@ -27,6 +27,8 @@ class AssetTagHelperTest < ActionView::TestCase end AssetPathToTag = { + %(asset_path("")) => %(), + %(asset_path(" ")) => %(), %(asset_path("foo")) => %(/foo), %(asset_path("style.css")) => %(/style.css), %(asset_path("xmlhr.js")) => %(/xmlhr.js), |