Rails 3 engines testing

3 views
Skip to first unread message

Michael Rigart

unread,
Oct 12, 2010, 6:39:47 AM10/12/10
to rubyonra...@googlegroups.com
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

--
Posted via http://www.ruby-forum.com/.

ehansen486

unread,
Oct 12, 2010, 11:58:58 AM10/12/10
to Ruby on Rails: Talk
Try Jose Valim's EngineX (http://github.com/josevalim/enginex). This
works really well for me.

--> Eric
Reply all
Reply to author
Forward
0 new messages