GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: adds additional features to friendly fixtures
Homepage: http://blog.internautdesign.com/2007/12/10/friendly_fixtures-plugin-for-rails
Clone URL: git://github.com/dfl/friendly_fixtures.git
name age message
file LICENSE Mon Dec 10 00:42:51 -0800 2007 adding friendly fixtures plugin [dfl]
file README.rdoc Tue Jun 10 23:46:15 -0700 2008 updating for github [dfl]
file Rakefile Mon Dec 10 00:42:51 -0800 2007 adding friendly fixtures plugin [dfl]
file TODO Mon Apr 07 20:02:14 -0700 2008 adding magic label stuff [dfl]
file init.rb Tue Jun 10 23:07:57 -0700 2008 updating plugin [dfl]
directory lib/ Tue Jun 10 23:46:15 -0700 2008 updating for github [dfl]
directory test/ Tue Jun 10 23:56:40 -0700 2008 fixing test [dfl]
README.rdoc
= FriendlyFixtures

This plugin adds some extra features to the fixtures macro in Test::Unit.
It is intended for Rails 2.x, but works with 1.2.3 as well.

It enables you to:
* load dependent models, which are found by object introspection on a model's ActiveRecord associations.
* assert that all the loaded fixtures are valid. Intended to be used in unit tests, this can be very helpful in finding 
bugs.

== Example Usage:

class SomeTest < Test::Unit::TestCase
  fixtures :user, :dependencies => true, :validate => true
end

== Contact

David Lowenfels <david at internautdesign.com>