Pig in a poke
Sometimes people simply bought the "poke" without looking inside; and sometimes people who thought they were buying pork or a small pig were surprised to find they had been sold something else.