[rspec-users] Rspec approach to test model

Phlip phlip2005 at gmail.com
Thu Feb 12 00:27:52 EST 2009


Kaleem Ullah wrote:

> Scott Taylor wrote:

>> You could benefit from a factory / data builder.  See
>> FixtureReplacement, Fixjour, Factory girl, one of the many others out
>> there which would build this stuff *once* for you.

> I am in need of such data builders.

I recently thumped the square peg of FixtureDependencies into the round hole of 
Merb's RSpec.

   http://github.com/jeremyevans/fixture_dependencies/tree/master

I can answer questions about it if anyone wants to try it.

Except how to make it do rake db:fixtures:load. Does anyone know that one?

-- 
   Phlip



More information about the rspec-users mailing list