Permalink
Browse files

Define the required asset

  • Loading branch information...
1 parent 9067a95 commit 6ed464fd52e36bbf811de734ae849aa34fc34db0 @rafaelfranca rafaelfranca committed Apr 9, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/test/application/assets_test.rb
@@ -176,6 +176,7 @@ class User < ActiveRecord::Base; raise 'should not be reached'; end
end
test "precompile creates a manifest file with all the assets listed" do
+ app_file "app/assets/images/rails.png", "notactuallyapng"
app_file "app/assets/stylesheets/application.css.erb", "<%= asset_path('rails.png') %>"
app_file "app/assets/javascripts/application.js", "alert();"
# digest is default in false, we must enable it for test environment

0 comments on commit 6ed464f

Please sign in to comment.