fixed nock spec in doc