aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-08-16 16:37:56 +0100
committerJon Leighton <j@jonathanleighton.com>2011-08-16 16:41:01 +0100
commit590239156714c03ad525b2248a11a3f34da3aa6a (patch)
tree4ef57a5fae520d2177c850659b0497d709154bc9 /actionpack
parent4dd985ae9514fdb9688eab780d881decff8358fa (diff)
downloadrails-590239156714c03ad525b2248a11a3f34da3aa6a.tar.gz
rails-590239156714c03ad525b2248a11a3f34da3aa6a.tar.bz2
rails-590239156714c03ad525b2248a11a3f34da3aa6a.zip
Fix assets tests in railties
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/sprockets/assets.rake4
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.