spec: validate presence of quantity