Stephen Eley wrote:
On Wed, Feb 18, 2009 at 3:02 PM, Ben Mabey <b...@benmabey.com> wrote:
One option is to use ARMailer[1] to queue your mail. As long as your
selenium process and test process are using the same DB without transactions
getting in the way then ARMailer should work fine for what you want to do.
Is changing production infrastructure solely for the sake of making
tests work a recommended practice? To me it feels a bit backwards.
Well, in this case the ARMailer is an arguably better alternative than
waiting on an SMTP connection for ActionMailer in production settings.
ARMailer was not created to solve testing woes.. it was created it solve
production woes. :) The fact that it helps in testing is just a side
effect.
-Ben
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users