Class: RSpec::Core::Formatters::ProgressFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/generative/formatters.rb

Instance Method Summary collapse

Instance Method Details

#example_passed(notification) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/generative/formatters.rb', line 7

def example_passed(notification)
  example = notification.example

  if example.[:generative]
    output.print RSpec::Core::Formatters::ConsoleCodes.wrap('.', :cyan)
  else
    super_example_passed(notification)
  end
end

#super_example_passedObject



5
# File 'lib/generative/formatters.rb', line 5

alias_method :super_example_passed, :example_passed