diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-08-16 16:37:56 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-08-16 16:41:01 +0100 |
commit | 590239156714c03ad525b2248a11a3f34da3aa6a (patch) | |
tree | 4ef57a5fae520d2177c850659b0497d709154bc9 /actionpack/lib/sprockets | |
parent | 4dd985ae9514fdb9688eab780d881decff8358fa (diff) | |
download | rails-590239156714c03ad525b2248a11a3f34da3aa6a.tar.gz rails-590239156714c03ad525b2248a11a3f34da3aa6a.tar.bz2 rails-590239156714c03ad525b2248a11a3f34da3aa6a.zip |
Fix assets tests in railties
Diffstat (limited to 'actionpack/lib/sprockets')
-rw-r--r-- | actionpack/lib/sprockets/assets.rake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/sprockets/assets.rake b/actionpack/lib/sprockets/assets.rake index 9b2646b0a2..4cf5caab91 100644 --- a/actionpack/lib/sprockets/assets.rake +++ b/actionpack/lib/sprockets/assets.rake @@ -9,7 +9,9 @@ namespace :assets do Kernel.exec $0, *ARGV else Rake::Task["environment"].invoke - Sprockets::Helpers::RailsHelper + + # Ensure that action view is loaded and the appropriate sprockets hooks get executed + ActionView::Base assets = Rails.application.config.assets.precompile # Always perform caching so that asset_path appends the timestamps to file references. |