Using Guard, Spork, and Rspec

joequery edited this page Jan 11, 2012 · 2 revisions

This template comes with Guard, Spork and Rspec preconfigured for quick testing. To use the testing environment, you simply:

  1. cd to YourApp directory
  2. In one shell session (consider opening a new tab in iTerm), execute
    bundle exec guard
  3. In another shell session, execute the call to rspec.
    bundle exec rspec spec/

Since we're using bundler and installing gems in the project, using bundle exec is necessary.