Rails + Angular + Jasmine example app
Ruby CoffeeScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config sample app functionality - task model and interface Jan 17, 2014
db sample app functionality - task model and interface Jan 17, 2014
lib initial import Jan 16, 2014
log
public
spec
test
vendor/assets
.gitignore
.rspec
Gemfile
Gemfile.lock sample app functionality - task model and interface Jan 17, 2014
Guardfile sample app functionality - task model and interface Jan 17, 2014
LICENSE
README.md
Rakefile initial import Jan 16, 2014
config.ru

README.md

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.