Helper and utility classes that fill out Backbone for serious development.
You'll need these, but chances are you already have them in your app:
bundle exec rake jasmine
To not open tests a browser window:
bundle exec rake jasmine:ci
This hasn't been tried with Sprockets yet, but hopefully it's Rails 3.1 ready. Meanwhile, for Jammit...
rails plugin install email@example.com:thoughtbot/backbone-support.git
config.middleware.use Rack::Static, :urls => ['/vendor/plugins/backbone-support/lib/assets']
And in your
If you have evergreen tests, you will need to change your
require statements since these files
config/evergreen.rb to be this:
Evergreen.configure do |config| config.public_dir = '.' end
Your individual specs will then need the full root path in
require. For example:
Copyright 2011 thoughtbot. Please check LICENSE for more details.