the duck doesn't need to be punched as hard as I thought...

This commit is contained in:
John Bintz 2011-06-13 07:50:15 -04:00
parent cc619466df
commit ac7cf07d5d

View File

@ -31,7 +31,7 @@ module Jasmine
if Rails.version >= "3.1.0"
desc 'Force generate static assets without an MD5 hash, all assets end with -test.<ext>'
task 'assets:precompile:for_testing' => :environment do
Rails.application.assets.instance_variable_set(:@digest_class, Digest::JasmineTest)
Rails.application.assets.digest_class = Digest::JasmineTest
Rake::Task['assets:precompile'].invoke
end