On 1/24/07, Christian Neukirchen <chneukirchen / gmail.com> wrote:
> "David Chelimsky" <dchelimsky / gmail.com> 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  <chneukirchen / gmail.com>  http://chneukirchen.org
>
>