make jasmine happy, by just refrencing the template package we already create

This commit is contained in:
Maxwell Salzberg 2012-02-07 15:35:42 -08:00
parent 5425d405d8
commit cb23b2d5b7
3 changed files with 2 additions and 11 deletions

View file

@ -1,7 +0,0 @@
package_assets: on
template_function: Handlebars.compile
template_extension: 'handlebars'
javascripts:
app:
- public/javascripts/app/templates/*

View file

@ -13,7 +13,7 @@
src_files: src_files:
# load up our outputted templates, bound to window.JST # load up our outputted templates, bound to window.JST
- public/javascripts/vendor/handlebars-1.0.0.beta.6.js - public/javascripts/vendor/handlebars-1.0.0.beta.6.js
- public/assets/app.js - public/assets/templates.js
- public/javascripts/vendor/underscore.js - public/javascripts/vendor/underscore.js
- public/javascripts/vendor/jquery-1.7.1.min.js - public/javascripts/vendor/jquery-1.7.1.min.js

View file

@ -1,9 +1,7 @@
require 'jammit' require 'jammit'
module Jasmine module Jasmine
class Config class Config
Jammit.reload! Jammit.reload!
Jammit.package!({ :config_path => Rails.root.join("config", "assets_test.yml")}) Jammit.package!
end end
end end