class OperatingNormallySpecification

Constants

RESOLVED_EVENT_EXPRESSION

Public Class Methods

is_satisified_by?(service_events) click to toggle source
# File lib/src/OperatingNormallySpecification.rb, line 4
def self.is_satisified_by?(service_events)
        service_events.empty? || service_events.first[:title] =~ RESOLVED_EVENT_EXPRESSION
end