Skip to content

An example Rails that uses controller specs to generate fixture markup for javascript tests

Notifications You must be signed in to change notification settings

pivotaljb/js-fixture-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example Rails that uses controller specs to generate fixture markup for javascript tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages