Class: Cadre::RSpec::TrueFeelingsFormatter

Inherits:
RSpec::Core::Formatters::ProgressFormatter
  • Object
show all
Defined in:
lib/cadre/rspec/true-feelings-formatter.rb

Instance Method Summary collapse

Instance Method Details

#example_passed(example) ⇒ Object


5
6
7
8
9
10
11
# File 'lib/cadre/rspec/true-feelings-formatter.rb', line 5

def example_passed(example)
  if @failed_examples.empty?
    super
  else
    output.print failure_color("u")
  end
end