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.
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
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