[rspec-users] nested steps

rogerdpack rogerpack2005 at gmail.com
Tue Jan 12 17:40:09 EST 2010


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
end

Thoughts?
-r


More information about the rspec-users mailing list