Class: GreenPepper::WriteMissingExampleResult
- Inherits:
-
FailureExampleResult
- Object
- ExampleResult
- HtmlExampleResult
- FailureExampleResult
- GreenPepper::WriteMissingExampleResult
- Defined in:
- lib/greenpepper/writer/htmlresult.rb
Instance Attribute Summary
Attributes inherited from HtmlExampleResult
Attributes inherited from ExampleResult
Instance Method Summary collapse
Methods inherited from FailureExampleResult
Methods inherited from ExampleResult
#error?, #failure?, #ignored?, #initialize, #success?, #update_stats
Constructor Details
This class inherits a constructor from GreenPepper::ExampleResult
Instance Method Details
#write(cell, options = {}) ⇒ Object
160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/greenpepper/writer/htmlresult.rb', line 160 def write(cell, = {}) super(cell, ) missing = LibXML::XML::Node.new('i') missing << "Missing " content = cell.content cell.content = "" cell << missing cell << content end |