Re: [rspec-users] Best practices for managing fixtures outside Rails?...

2010-05-16 Thread Scott Taylor
On May 14, 2010, at 8:25 PM, Stu wrote: > Hi, > > I have a non-Rails Ruby project that uses RSpec. It needs a shared > collection of fixture-like objects created, although they have nothing > to do with Rails, AR or database entries: > > w1 = Widget.new(10) > w2 = Widget.new(20) > w3 = Widget.

Re: [rspec-users] Best practices for managing fixtures outside Rails?...

2010-05-16 Thread David Chelimsky
On May 14, 2010, at 7:25 PM, Stu wrote: > Hi, > > I have a non-Rails Ruby project that uses RSpec. It needs a shared > collection of fixture-like objects created, although they have nothing > to do with Rails, AR or database entries: > > w1 = Widget.new(10) > w2 = Widget.new(20) > w3 = Widget.ne

[rspec-users] Best practices for managing fixtures outside Rails?...

2010-05-16 Thread Stu
Hi, I have a non-Rails Ruby project that uses RSpec. It needs a shared collection of fixture-like objects created, although they have nothing to do with Rails, AR or database entries: w1 = Widget.new(10) w2 = Widget.new(20) w3 = Widget.new(30) # ... g1 = Gadget.new(w1, w2) g2 = Gadget.new(w3, w