From: David Chelimsky Date: 2007-01-24T22:05:17+09:00 Subject: Re: test/spec -- was Re: I don't get rspec On 1/24/07, Christian Neukirchen wrote: > "David Chelimsky" writes: > > > That said, you can include modules and get reuse that way: > > > > module SomeHelperMethodsUsefulAcrossContexts > > end > > > > context "some context" do > > include SomeHelperMethodsUsefulAcrossContexts > > end > > > > I'd be surprised if test/spec doesn't already support this out of the box. > > It works exactly the same in test/spec. Glad to hear it. Do you have any feeling about which approach to reuse you personally prefer? Nested contexts or included modules? > > > Cheers, > > David > -- > Christian Neukirchen http://chneukirchen.org > >