diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index 810d51b50c21a7dcff295fb9816d5288f48a6986..7fb930bd999ccf3d58c3233feb3d9b43b3619e27 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -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