[rspec-users] nested examples in html formatter

Jonathan Linowes jonathan at parkerhill.com
Mon Dec 13 23:46:11 EST 2010


Is there a way for the html formatter to show nested "describe" blocks, as written in my examples.
Or perhaps I should change how I write my examples so nesting can be shown?

eg

describe MyModel do
	it "should be valid"

	describe "something" do
		it "should do this correctly" 
		it "should fail gracefully"
		it "should do this without that"
	end

	describe "something else" do
		it "should go on and on"
	end
end



More information about the rspec-users mailing list