diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb
index 6e9a2b52ffb1cea67dada23c1a5ca6616102da7a..7fbe98f250d89472ad322ea53e2231bc6334e5b6 100644
--- a/actionpack/test/template/asset_tag_helper_test.rb
+++ b/actionpack/test/template/asset_tag_helper_test.rb
@@ -53,10 +53,14 @@ def relative_url_root
StylePathToTag = {
%(stylesheet_path("style")) => %(/stylesheets/style.css),
+ %(stylesheet_path('dir/file')) => %(/stylesheets/dir/file.css),
+ %(stylesheet_path('/dir/file')) => %(/dir/file.css)
}
StyleLinkToTag = {
%(stylesheet_link_tag("style")) => %(),
+ %(stylesheet_link_tag("/dir/file")) => %(),
+ %(stylesheet_link_tag("dir/file")) => %(),
%(stylesheet_link_tag("style", :media => "all")) => %(),
%(stylesheet_link_tag("random.styles", "/css/stylish")) => %(\n)
}