Did I wire my light fixture correctly?
It sounds wrong to me, but I couldn't be sure without actually being there.  You should connect the new fixture, in exactly the same way the original fixture was connected. 

If there wasn't a grounding conductor in the original circuit, replacing the fixture did not make one magically appear. If a grounding conductor is required, you'll have to install one in accordance with local codes.