[rspec-users] Cucumber + Webrat + Selenium + ActionMailer

Ben Mabey ben at benmabey.com
Wed Feb 18 18:27:17 EST 2009

Stephen Eley wrote:
> On Wed, Feb 18, 2009 at 3:02 PM, Ben Mabey <ben at 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 


More information about the rspec-users mailing list