class ChefSpec::Matchers::NotificationsMatcher
def matches_action?(notification)
def matches_action?(notification) return true if @action.nil? @action == notification.action.to_sym end
def matches_action?(notification) return true if @action.nil? @action == notification.action.to_sym end