global
def self.for(example)
- Private: -
def self.for(example) if example.execution_result.pending_fixed? PendingExampleFixedNotification.new(example) elsif example.execution_result.status == :failed FailedExampleNotification.new(example) else new(example) end end