/jasmine-0.11-fixture-example

Example using fixtures, adapted from git://github.com/pivotaljb/js-fixture-example.git, to work with Jasmine 0.11

Primary LanguageRuby

A trivial example Rails app that demonstrates how controller specs can be used to generate markup used as fixture within javascript tests.

An explanation of the technique.

Gems managed with bundler 0.9.11

To generate the fixture, run spec spec/controllers/js_fixtures_spec.rb

To run the Jasmine server, run rake jasmine

To run the Jasmine specs, hit localhost:8888