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?


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


Frederick Cheung wrote: