CSc436/gymjournals — pull request #32 by lwchadderdon (2014-03-01 10:54:46+00:00)
Title: 28 setup Jasmine

Get unit testing going for javascript/Angular. It's integrated with `grunt`, so just keep `grunt` running while you're working. You'll need to install `karma` (the test runner) first with:
```bash
sudo npm install -g karma
```
The specs are written using [Jasmine](http://jasmine.github.io/edge/introduction.html), which is a pretty cool framework (similar to RSpec). I put an example test in `site/test/unit/controllersSpec.js`. The others are just examples left over from `angular-seed`. You'll need to name any tests `*Spec.js`.

I finally understand how to structure the `.travis.yml` file. Geez.

Closes #28