Here I think the correct play is to fold. Even if he doesnt have you beat. You are probably at best 50-50. He may have a hand like AJ of spades. And even though you would be currently winning the odds are in his favor to drawout. You only have 7 dollars invested. Pick a better spot to risk all your chips. Thats my oppinion.
However I would have reraised preflop. To try and get a better feal of where I stood. You could have reraised 4 dollars and than if he came over the top thrown you hand away.