Class: ChatNotifier::RspecFormatter

Inherits:
RSpec::Core::Formatters::BaseFormatter
  • Object
show all
Defined in:
lib/chat_notifier/rspec_formatter.rb

Overview

Formatter for RSpec tests to receive the summary of a test run after the suite has finished.

Instance Method Summary collapse

Instance Method Details

#dump_summary(summary) ⇒ Object



14
15
16
# File 'lib/chat_notifier/rspec_formatter.rb', line 14

def dump_summary(summary)
  ChatNotifier.call(summary:)
end