aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/asset_tag_helper_test.rb
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-12-17 13:07:10 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-12-17 13:07:10 +0530
commit21208d2ab0ab98426069dfc0c86f5dd1a2876b8c (patch)
treedd61ff5b5381c5a7ba583acce872cd57778f30ea /actionview/test/template/asset_tag_helper_test.rb
parent5082cce6e3de01f54af620c590055ebb1effa299 (diff)
downloadrails-21208d2ab0ab98426069dfc0c86f5dd1a2876b8c.tar.gz
rails-21208d2ab0ab98426069dfc0c86f5dd1a2876b8c.tar.bz2
rails-21208d2ab0ab98426069dfc0c86f5dd1a2876b8c.zip
Add missing test cases for asset_path
Diffstat (limited to 'actionview/test/template/asset_tag_helper_test.rb')
-rw-r--r--actionview/test/template/asset_tag_helper_test.rb2
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),