class ChefSpec::ChefFormatter

def expecting_exception(exception, &block)

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