A Rails plugin that provides a RESTful API to your fixtures so they can be consumed by external applications.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
LICENSE
README
Rakefile
init.rb
install.rb
routes.rb
uninstall.rb

README

GimmehFixtures
==============

Provides a RESTful API to your fixtures so they can be consumed by external 
applications.  This is useful for giving an external test suite knowledge
of your fixtures without coupling the two code bases.

Runs only in test and development environments.

Example Usage
=============

1. Fire up your Rails app:
  $ script/server
   
2. Ask for all the fixtures:
  $ curl http://localhost:3000/fixtures.xml
   
3. Now, ask for one particular set of fixtures:
  $ curl http://localhost:3000/fixtures/users.json

4. Now your external test suite is empowered with 
   knowledge of your fixtures.  'grats, champ.

Author
======
Alex Payne <al3x@al3x.net>.  

License
=======
Released under the WTFPL.