Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zapnap/rails-angular-jasmine

Rails + Angular + Jasmine example app
https://github.com/zapnap/rails-angular-jasmine

Last synced: about 2 months ago
JSON representation

Rails + Angular + Jasmine example app

Awesome Lists containing this project

README

        

# Rails + Angular + Jasmine Example

Illustrates how to setup and organize a vanilla Rails backend application to
leverage Angular.js with a full Jasmine test suite.

Uses jasmine-rails, guard, and angularjs-rails.

Browse the Coffeescript example code in `app/assets/javascripts/app` and
compare with the specs found in `spec/javascripts`. Pay particular attention
to the spec helper setup in `spec/javascripts/spec_helper.coffee`.

Read more and comment on the [blog post](http://blog.zerosum.org/2014/01/17/rails-angular-jasmine.html)

## Run the Test Suite

Run the combined test suite via Guard:

bundle
bundle exec guard

## Credits

Developed by [Nick Plante](http://nickplante.com). Mad props to
[Mark Bates](http://markbates.com) for helping me think through and iterate on
this.