[rspec-devel] [ rspec-Feature Requests-9789 ] Make HtmlFormatter#extra_failure_content take the failure as a arg

noreply at rubyforge.org noreply at rubyforge.org
Tue Apr 3 14:06:03 EDT 2007


Feature Requests item #9789, was opened at 2007-04-03 13:50
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=9789&group_id=797

Category: expectation module
Group: None
Status: Open
Priority: 3
Submitted By: Mike Harris (gfunk911)
Assigned to: Nobody (None)
Summary: Make HtmlFormatter#extra_failure_content take the failure as a arg

Initial Comment:
It would be helpful if HtmlFormatter#extra_failure_content could take the failure as an arg, so it could produce content based on the failure.  If the change was made to have rspec only pass the failure if the arity of failure is 1, it would also preserve existing behavior.

I would be happy to code this and submit a patch if that would be helpful.  

----------------------------------------------------------------------

>Comment By: Aslak Hellesøy (aslak_hellesoy)
Date: 2007-04-03 14:06

Message:
Please make a patch (no need to ask permission first ;-)

Out of curiosity - what kind of extension are you making that needs this feature?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=9789&group_id=797


More information about the rspec-devel mailing list