Class: Teabag::Formatters::CleanFormatter

Inherits:
DotFormatter show all
Defined in:
lib/teabag/formatters/clean_formatter.rb

Constant Summary

Constants inherited from DotFormatter

DotFormatter::CYAN, DotFormatter::GREEN, DotFormatter::RED, DotFormatter::YELLOW

Instance Attribute Summary

Attributes inherited from BaseFormatter

#errors, #failures, #passes, #pendings, #total

Instance Method Summary collapse

Methods inherited from DotFormatter

#error, #result, #spec

Methods inherited from BaseFormatter

#exception, #initialize, #result, #spec, #suppress_logs?

Constructor Details

This class inherits a constructor from Teabag::Formatters::BaseFormatter

Instance Method Details

#log_failed_examplesObject



7
8
9
# File 'lib/teabag/formatters/clean_formatter.rb', line 7

def log_failed_examples
  log "\n" if failures.size > 0
end