diff --git a/lib/jasmine/headless/jst_template.rb b/lib/jasmine/headless/jst_template.rb index b6d8f1c..b5f68e1 100644 --- a/lib/jasmine/headless/jst_template.rb +++ b/lib/jasmine/headless/jst_template.rb @@ -3,6 +3,9 @@ require 'sprockets/jst_processor' module Jasmine::Headless class JSTTemplate < Sprockets::JstProcessor include Jasmine::Headless::FileChecker + + self.default_mime_type = 'application/javascript' + def evaluate(*args) if bad_format?(file) alert_bad_format(file)