Pig in a poke

Meaning: when you choose something without knowing what you are going to get
How to use in a sentence: The boy bought a used IPad for ten dollars without seeing if it worked.  When he got it home it wouldn't work and he realized that he had bought a pig in a poke. 

Read a story that uses this idiom

 Click for larger image