[Rspec-devel] Nested contexts
Evgeny
evgeny.zislis at gmail.com
Fri Jun 9 21:28:54 EDT 2006
Actually the subject sais it all, but i'll repeat "Nested contexts".
AFAIK it does not exist in the current version, and in the democratic
spirit of this list I would like to ask for a poll.
All in favor : +1
All against : -1
Regards,
Evgeny
PS: Okay okay, for those who dont understand what I'm talking about
I'll give a short example.
context "This is the first context"
setup
# some things to do for the first context
end
context "this is actually a subcontext for the first one"
setup
# things that will only be setup in this subcontext
end
end
context "this is the second subcontext"
setup
# this has a different setup, but its also empty....
end
end
end
More information about the Rspec-devel
mailing list