Rails as an automated test framework

We are investigating the use RoR as the infrastructure for an automated test framework. Our application runs in a browser, so some form of watir-based test framework seems ideal. The Rails database would be used to store pass/fail test results. Has anyone done something like this with Ruby on Rails?

Curious minds want to know.

Thanks in advance.

Matt Berney wrote:

We are investigating the use RoR as the infrastructure for an automated test framework. Our application runs in a browser, so some form of watir-based test framework seems ideal. The Rails database would be used to store pass/fail test results. Has anyone done something like this with Ruby on Rails?

That is the exact target project of "Test Driven Ajax":

   http://www.oreilly.com/catalog/9780596510657/