From b66897993aaf93e9a898e8854f3e73d2c7e831c8 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 24 May 2011 06:46:00 -0400 Subject: [PATCH] add guard info --- index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.md b/index.md index f3f17c4..71d4c1f 100644 --- a/index.md +++ b/index.md @@ -205,10 +205,10 @@ jasmine-headless-webkit spec/javascripts/models/node_viewer.coffee Support for Autotest is built-in. All you need to do is create a `.jasmine-headless-webkit` file in your project directory and Autotest will pick up that you want to use it for Jasmine. _(this only works by itself or with RSpec at the moment)_ -You can also use it with watchr, which is what I do now. Here's the watchr script I use to run both RSpec and -`jasmine-headless-webkit`: +If you use [Guard](https://github.com/guard/guard/), which I just switched to doing, install [`guard-jasmine-headless-webkit`](http://github.com/johnbintz/guard-jasmine-headless-webkit/) +and run `guard init jasmine-headless-webkit` to add the necessary bits to your `Guardfile` to test a Rails 3.1 (or a well-structured Rails 3.0) app. - +You can also use it with watchr, if you're so inclined. [Here's the watchr script](https://gist.github.com/965115/) I use to run both RSpec and `jasmine-headless-webkit`. ## Rake tasks