There are a few ways to tell if a ring is made of white topaz or glass:
First, look at the clarity of the stone. Topaz is typically very clear, while glass is usually cloudy or opaque.
Tap the stone lightly with a metal object. Topaz will make a crisp sound, while glass will make a duller sound.
Hold the stone up to the light.