[rspec-users] Best practices for developing a rails plugin (extending ActiveRecord) with rspec?

Hendrik Volkmer solaris at sundevil.de
Wed Dec 17 13:19:52 EST 2008


Hi Ingo,
we use our own dry_plugin_test_helper [1] for almost all our plugin tests
and it works fine. It provides a stripped down Rails environment inside the
gem so that you don't need it in your plugin just to test your plugin code.
We mainly use it with Test::Unit but I don't see why rspec wouldn't work.


Cheers,
Hendrik

[1] http://github.com/imedo/dry_plugin_test_helper/tree/master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081217/31252fa6/attachment.html>


More information about the rspec-users mailing list