davidva / rails-angular-jasmine

Rails + Angular + Jasmine example app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Run the Test Suite

Run the combined test suite via Guard:

bundle
bundle exec guard

Credits

Developed by Nick Plante. Mad props to Mark Bates for helping me think through and iterate on this.

About

Rails + Angular + Jasmine example app

License:MIT License