Test fixture with Flash chart?

I want to create a fixture with ERb to load a database with random
data for a particular model.
That data will be used for a Flash chart object. How can I create the
functional test to allow me to view the Flash chart as part of the
test? I’m new to Rails and not sure how this would work.