提交 3348ea62 编写于 作者: D Damien Mathieu

provide more explicit test names

上级 451f63b4
......@@ -46,7 +46,7 @@ def app
assert defined?(Uglifier)
end
test "assets are compiled properly" do
test "precompile creates the file and gives it the original asset's content" do
app_file "app/assets/javascripts/application.js", "alert();"
app_file "app/assets/javascripts/foo/application.js", "alert();"
......@@ -61,7 +61,7 @@ def app
end
end
test "precompile properly performs caching" do
test "precompile appends the md5 hash to files referenced with asset_path" do
app_file "app/assets/stylesheets/application.css.erb", "<%= asset_path('rails.png') %>"
capture(:stdout) do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册