Writing database backed plugin tests.

I'm trying to write tests for a plugin that includes an active record model. This means that my plugin tests need to have access to a database, as well as a skeleton rails stack.

Is there any resources out there that show how to achieve this?

Thanks

pluginaweek has a thing on that. unfortunately they seem to be down right now, but the google cached copy should sort you out:

http://66.102.9.104/search?q=cache:l7hpl-xkv8sJ:www.pluginaweek.org/index.php%3Fs%3Dilib+plugin+test+rails_root&hl=en&ct=clnk&cd=3&client=safari

Fred

Frederick Cheung wrote: