[rspec-users] nested examples in html formatter

Jarmo Pertman jarmo.p at gmail.com
Wed Dec 15 10:47:43 EST 2010


Just FYI, it is now: https://github.com/rspec/rspec-core/commit/edb7f851a85ffe318a5d9d161c896bde448b61e1

Jarmo Pertman
-----
IT does really matter - http://www.itreallymatters.net


On Dec 14, 3:25 pm, David Chelimsky <dchelim... at gmail.com> wrote:
> 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-us... at rubyforge.org
> >http://rubyforge.org/mailman/listinfo/rspec-users
>
> Cheers,
> David
>
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list