class ChefSpec::ChefFormatter
def expecting_exception(exception, &block)
def expecting_exception(exception, &block) yield unless ChefSpec::ExpectException.new(exception).expected? end
def expecting_exception(exception, &block) yield unless ChefSpec::ExpectException.new(exception).expected? end