Class: GreenPepper::CheckSuccess
- Inherits:
-
ExampleResult
- Object
- ExampleResult
- GreenPepper::CheckSuccess
- Includes:
- KeywordFormat
- Defined in:
- lib/greenpepper/writer/freetextresult.rb
Instance Attribute Summary
Attributes inherited from ExampleResult
Instance Method Summary collapse
Methods included from KeywordFormat
#error, #green_highlight, #grey_highlight, #highlight, #indent, #indent2, #newline, #red_highlight, #yellow_highlight
Methods inherited from ExampleResult
#error?, #failure?, #ignored?, #initialize
Constructor Details
This class inherits a constructor from GreenPepper::ExampleResult
Instance Method Details
#success? ⇒ Boolean
162 163 164 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 162 def success? true end |
#update_stats(results) ⇒ Object
158 159 160 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 158 def update_stats(results) results.add_success end |
#write(action) ⇒ Object
154 155 156 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 154 def write(action) green_highlight action end |