Add missing test cases for asset_path

This commit is contained in:
Akshay Vishnoi 2015-12-17 13:07:10 +05:30
parent 5082cce6e3
commit 21208d2ab0
1 changed files with 2 additions and 0 deletions

View File

@ -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),