On 10/16/07, Andy Watts <[EMAIL PROTECTED]> wrote:
> I recently spent a lot of time looking at something similar before going
> with the fixtures replacement plugin.
> It gives me new_user, create_user, create_user(:first_name =>
> 'overriddefault' ).
> Also creates records for associations where required.  This is useful in
> story runner, where I'm mocking less.
> screencast here
> http://railsnewbie.com/files/fixture_replacement_demo_new.mov

I like the auto generation of those methods. That's something that we
have thought about and intend to add to Scenarios at some point in the
future. The huge advantage of Scenarios over the FixtureReplacement
plugin (if I understand it correctly) is that it gives you a way to
group and manage your record creation calls. So you can say you want
to use the Accounts scenario and it will load up your basic accounts,
transactions, etc...

--
John Long
http://wiseheartdesign.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to