[rspec-users] nested examples in html formatter

David Chelimsky dchelimsky at gmail.com
Tue Dec 14 08:25:53 EST 2010


On Dec 13, 2010, at 10:46 PM, Jonathan Linowes wrote:

> Is there a way for the html formatter to show nested "describe" blocks, as written in my examples.

Not supported yet. Patches welcome!

> 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
> 
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

Cheers,
David





More information about the rspec-users mailing list