Module: CapturefulFormatter::RSpec::Core::Reporter

Defined in:
lib/captureful_formatter/rspec_ext/rspec_core_reporter.rb

Instance Method Summary collapse

Instance Method Details

#step_finished(step) ⇒ Object



14
15
16
# File 'lib/captureful_formatter/rspec_ext/rspec_core_reporter.rb', line 14

def step_finished(step)
  notify :step_finished, CapturefulFormatter::Notifications::StepNotification.from_step_object(step)
end

#step_started(step) ⇒ Object



7
8
9
10
11
12
# File 'lib/captureful_formatter/rspec_ext/rspec_core_reporter.rb', line 7

def step_started(step)
  CapturefulFormatter::Notifications::StepNotification.from_step_object(step)
  notify :step_started, CapturefulFormatter::Notifications::StepNotification.from_step_object(step)
rescue => e
  puts e
end