1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Yves Senn 9d37874732 reset ActionMailer::Base.deliveries in ActionDispatch::IntegrationTest.
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.
2016-02-16 11:20:59 +01:00
..
assets Introduce new welcome page for new projects 2016-01-26 00:27:49 +02:00
bug_report_templates remove backward compatibility code for Minitest 4 2016-01-30 16:52:09 +09:00
rails_guides [ci skip] Fix typo 2015-12-22 03:06:35 +05:30
source reset ActionMailer::Base.deliveries in ActionDispatch::IntegrationTest. 2016-02-16 11:20:59 +01:00
.document
CHANGELOG.md Preparing for Rails 5.0.0.beta2 2016-02-01 14:37:52 -07:00
rails_guides.rb Merge pull request #19240 from yui-knk/refactor/guide_rb 2015-03-18 12:32:10 +01:00
Rakefile Fix WARNINGS flag inside guides/Rakefile 2015-07-29 20:00:58 -04:00
w3c_validator.rb