Method: Spec::Runner::Reporter#example_failed

Defined in:
lib/devcreek_specreporter.rb

#example_failed(*args) ⇒ Object



35
36
37
38
39
# File 'lib/devcreek_specreporter.rb', line 35

def example_failed(*args)
  result = old_example_failed(*args)
  DevCreek::RSpecAdapter.instance().example_failed(args[0].description,  @example_groups.last.description, @failures.last.expectation_not_met?) 
  return result
end