Class: GreenPepper::ErrorExampleResult
- Inherits:
-
HtmlExampleResult
- Object
- ExampleResult
- HtmlExampleResult
- GreenPepper::ErrorExampleResult
- Defined in:
- lib/greenpepper/writer/htmlresult.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from HtmlExampleResult
Attributes inherited from ExampleResult
Instance Method Summary collapse
Methods inherited from ExampleResult
#failure?, #ignored?, #initialize, #success?, #update_stats
Constructor Details
This class inherits a constructor from GreenPepper::ExampleResult
Instance Method Details
#error? ⇒ Boolean
64 65 66 |
# File 'lib/greenpepper/writer/htmlresult.rb', line 64 def error? true end |
#write(cell, options = {}) ⇒ Object
68 69 70 71 72 |
# File 'lib/greenpepper/writer/htmlresult.rb', line 68 def write(cell, = {}) cell = super(cell, ) cell["style"] = "background-color: #{Html::YELLOW}" cell end |