Looks good. 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
- Andy John W. Long-2 wrote: > > This is sort of a pre-announcement for a Rails plugin my friend Adam > Williams and I are working on. We're in the process of extracting it > from a project we are working on so that it can be generally useful to > the Rails community. We are calling it "Scenarios". It is a drop in > replacement for Rails fixtures: > > http://faithfulcode.rubyforge.org/svn/plugins/trunk/scenarios/README > > If you are interested in playing around with it be sure to read through: > > http://faithfulcode.rubyforge.org/svn/plugins/trunk/scenarios/spec/scenarios_spec.rb > > And check out the example scenarios in: > > http://faithfulcode.rubyforge.org/svn/plugins/trunk/scenarios/spec/scenarios/ > > You will need to be running off of rspec/trunk and probably rails edge as > well. > > More documentation and examples will follow with the official release. > > -- > John Long > http://wiseheartdesign.com > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > > -- View this message in context: http://www.nabble.com/Scenarios-Plugin-Pre-Announcement-tf4637152.html#a13245324 Sent from the rspec-users mailing list archive at Nabble.com. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users