bmabey's email-spec at master - GitHub
Lee Iverson in leei's Channel
Captured on 07 Aug 2010 from github.com
Email Spec
A collection of RSpec matchers and Cucumber steps to make testing emails go smoothly.
This library works with ActionMailer and Pony. When using it with ActionMailer it works with DelayedJob, ActiveRecord Mailer, and action_mailer_cache_delivery.
When using the action_mailer_cache_delivery library you must use this fork: github.com/liangzan/action_mailer_cache_delivery
If you are testing emails in conjunction with an automated browser solution, like Selenium, you will want to use action_mailer_cache_delivery in your test environment. (This is because your test process and server processes are distinct and therefore need an intermediate store for the emails.) DelayedJob and ActiveRecord Mailer will also work but you generally don’t want to include those projects unless you need them in production.
Responses
- Order By
- First Post First
- Last Post First
Please Login to respond