Re: [rspec-users] nested steps

2010-01-13 Thread rogerdpack
> You do realise you can already nest contexts don't you? That makes   > much more sense to me than what you've suggested. Ahh that is what I lacked. That should suffice. Thanks! -r ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge

Re: [rspec-users] nested steps

2010-01-12 Thread Phillip Koebbe
> > You do realise you can already nest contexts don't you? That makes   > much more sense to me than what you've suggested. > Hi Roger, Here's an example of nesting contexts that Matt is talking about: http://gist.github.com/275798 Peace, Phillip __

Re: [rspec-users] nested steps

2010-01-12 Thread Matt Wynne
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

Re: [rspec-users] nested steps

2010-01-12 Thread David Chelimsky
On Tue, Jan 12, 2010 at 4:40 PM, 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 >