This project will take you from project setup to writing tests for your Ruby on Rails applications and engines using jasmine and teaspoon.
This project assumes the following:
- RVM installed
- Homebrew installed
- Phantom-JS installed
$ brew install phantomjs
- npm installed
$ brew install npm
- Istanbul installed
$ npm install -g istanbul
$ git clone <repo> && cd jasmine-and-teaspoon
Install and configure teaspoon and jasmine.
git checkout 1-project-setup
git checkout 2-write-some-tests
git checkout 3-dispatching-events
git checkout 4-ajax
git checkout 5-coverage-lies