You can tell if a cake is spoiled by observing its appearance, texture, and smell; any signs of mold, changes in texture, or a foul odor are indicators that the cake is spoiled.