the duck doesn't need to be punched as hard as I thought...
This commit is contained in:
parent
cc619466df
commit
ac7cf07d5d
@ -31,7 +31,7 @@ module Jasmine
|
|||||||
if Rails.version >= "3.1.0"
|
if Rails.version >= "3.1.0"
|
||||||
desc 'Force generate static assets without an MD5 hash, all assets end with -test.<ext>'
|
desc 'Force generate static assets without an MD5 hash, all assets end with -test.<ext>'
|
||||||
task 'assets:precompile:for_testing' => :environment do
|
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
|
Rake::Task['assets:precompile'].invoke
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user