[rspec-devel] [ rspec-Feature Requests-13326 ] add a parameter will be more convenient

noreply at rubyforge.org noreply at rubyforge.org
Mon Nov 19 00:19:21 EST 2007


Feature Requests item #13326, was opened at 2007-08-24 05:39
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=13326&group_id=797

Category: None
Group: None
Status: Open
Priority: 3
Submitted By: xiaoming lin (linxiaoming)
Assigned to: Nobody (None)
Summary: add a parameter will be more convenient  

Initial Comment:
Spec::Runner::Formatter::HtmlFormatter

class WebTestHtmlFormatter < Spec::Runner::Formatter::HtmlFormatter
  def extra_failure_content(failure)
    #print "aaa"
    #print failure.to_s
    #@output.puts "HTML source1" 
    @behaviour_red = true
    move_progress
    @output.puts "    <dd class=\spec failed\>"
    @output.puts "      <span class=\failed_spec_name\>abcdefg</span>"
 end
end

...

But I want to use the example object in WebTestHtmlFormatter。
but I can't accept the example object。

Is this a good idea?
#####def extra_failure_content(failure,example)####

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

Comment By: Chad Humphries (spicycode)
Date: 2007-11-19 00:19

Message:
Moved to http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/109-13326-add-a-parameter-will-be-more-convenient#ticket-109-2

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

Comment By: David Chelimsky (dchelimsky)
Date: 2007-09-23 17:00

Message:
Moving this over to feature requests. It's not really a bug.

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

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


More information about the rspec-devel mailing list