[rspec-users] nested steps
Matt Wynne
matt at mattwynne.net
Tue Jan 12 17:50:11 EST 2010
On 12 Jan 2010, at 22:40, rogerdpack wrote:
> Question.
> Currently rspec appears to allow for a two-step test system, like
>
> context "abc"
> it 'should do y' do
> end
> end
>
> It might be convenient to have an arbitrary number of nests, like
>
> context "abc"
> it 'should do y' do
>
> it 'should also be able to do x'
> end
>
> end
You do realise you can already nest contexts don't you? That makes
much more sense to me than what you've suggested.
> end
>
> Thoughts?
> -r
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
cheers,
Matt
http://mattwynne.net
+447974 430184
More information about the rspec-users
mailing list