Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 457 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 457 Bytes

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