Leicester preserved their unbeaten pre-season record with a confident display in a 0-0 draw against a spirited York side at Bootham Crescent.