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@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

cheers,
Matt

http://mattwynne.net
+447974 430184

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to