class CiSlack::Rspec::Notifier

Attributes

messager[R]

Public Class Methods

new() click to toggle source
# File lib/ci_slack/rspec/notifier.rb, line 9
def initialize
  @messager = CiSlack::Messager.new
end

Public Instance Methods

example_failed(notification) click to toggle source
# File lib/ci_slack/rspec/notifier.rb, line 13
def example_failed(notification)
  messager.deliver(Example.new(notification.example).to_s, :failed)
end