[Rspec-devel] Nested contexts
Evgeny
evgeny.zislis at gmail.com
Sun Jun 11 03:54:42 EDT 2006
I could include it, but then for those 3 lines of code i'd have to
have an extra include line in each separate setup in each context that
is using these 3 lines.
For some reason the suggestion of abstract_contexts exclude setups...
which is something that could solve this "including".
On 6/10/06, David Astels <dastels at daveastels.com> wrote:
>
> On 10-Jun-06, at 6:25 AM, Evgeny wrote:
>
> > The reason I suggested this in the first place was that nested setups
> > is something that is really missing. If I have 3 lines of code that I
> > just use in each and every setup of each and every context -- then
> > that is something I would have wanted to have in a separate location.
>
> Can't you just 'include' it?
>
> Dave
>
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
More information about the Rspec-devel
mailing list