Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Address ruby warnings | Teo Ljungberg | 2016-02-29 | 1 | -1/+1 |
| | | | | | - Ambiguous first argument - Mismatched indentation | ||||
* | reset `ActionMailer::Base.deliveries` in `ActionDispatch::IntegrationTest`. | Yves Senn | 2016-02-16 | 1 | -0/+46 |
Whenever you are sending emails in integration tests using the `:test` delivery method you need to make sure that `ActionMailer::Base.deliveries` is reset after every test. This piece of boilerplate code is present in all my applications that send emails. Let's have `ActionDispatch::IntegrationTest` reset the deliveries automatically. |