Class: GreenPepper::IgnoredExampleResult

Inherits:
HtmlExampleResult show all
Defined in:
lib/greenpepper/writer/htmlresult.rb

Instance Attribute Summary

Attributes inherited from HtmlExampleResult

#column, #row

Attributes inherited from ExampleResult

#silent

Instance Method Summary collapse

Methods inherited from ExampleResult

#error?, #failure?, #initialize, #success?, #update_stats

Constructor Details

This class inherits a constructor from GreenPepper::ExampleResult

Instance Method Details

#ignored?Boolean

Returns:

  • (Boolean)


76
77
78
# File 'lib/greenpepper/writer/htmlresult.rb', line 76

def ignored?
  true
end

#write(cell, options = {}) ⇒ Object



80
81
82
83
# File 'lib/greenpepper/writer/htmlresult.rb', line 80

def write(cell, options = {})
  cell["style"] = "background-color: #{Html::GREY}"
  cell
end