Rails 3 engines testing

Hi,

does anyone can help me by telling how you can properly test rails 3
engines? Since engines don't necessarily have db connections on its own,
how can you test your models?

I could use a test database, but how do you configure you test then to
create and use that connection?

Thank you in advance

Try Jose Valim's EngineX (http://github.com/josevalim/enginex). This
works really well for me.

--> Eric