At the beginning of the scene where the ladies are unwrapping the chocolates in Mr Salt's peanut factory(just before you hear Veruca say "I wanted to be the first to find a golden ticket"), one of the workers removes only the outer wrapper of the chocolate bar, not the inner, silver wrapper. As the tickets are enclosed in the inner wrapper she must have had x-ray vision to know there was no ticket inside.