Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (13 sloc) 459 Bytes

http://johnbintz.github.com/jasmine-headless-webkit/

Run in guard

install:

gem install guard-jasmine-headless-webkit

add the necessary bits to your Guardfile to test a Rails 3.1:

guard init jasmine-headless-webkit 

run:

bundle exec guard

Run manually or via rake:

bundle exec jasmine-headless-webkit -c
rake jasmine:headless

Run a specific spec

bundle exec jasmine-headless-webkit -c spec/javascripts/api_spec.coffee