I'm in process of migrating a rails 3.0.11 app to 3.1.3. And somehow, this breaks email_spec testing for amount of emails received when using cucumber + selenium setup.
config.action_mailer.delivery_method = :test
, also have tried it with :cache
and :file
delivery methods. No matter what, ActionMailer::Base.deliveries
is empty, even tho according to logs, the emails get sent. And dropping back down to to rails 3.0.11 makes everything work again.
Edit: For specific versions, here is my Gemfile.lock (note that spork is not used for cucumber features).
Clues, anyone?