diff options
| author | Zuhao Wan <wanzuhao@gmail.com> | 2014-06-07 00:11:24 +0800 |
|---|---|---|
| committer | Zuhao Wan <wanzuhao@gmail.com> | 2014-06-07 00:11:24 +0800 |
| commit | c4f4123ef45463a09b36186047dbdc82f933fe46 (patch) | |
| tree | 605cd59844aad17a929f137be18cd98318089681 /actionpack/lib/action_controller/metal/testing.rb | |
| parent | ecd4151aa829214c7b10f24bc5eca194089b4319 (diff) | |
| download | rails-c4f4123ef45463a09b36186047dbdc82f933fe46.tar.gz rails-c4f4123ef45463a09b36186047dbdc82f933fe46.tar.bz2 rails-c4f4123ef45463a09b36186047dbdc82f933fe46.zip | |
Restore test deliveries properly in ActionMailer.
`ActionMailer::Base.delivery_method` and
`ActionMailer::Base.perform_deliveries` have leaked states.
"delivery method can be customized per instance" and "delivery method
can be customized in subclasses not changing the parent" in
delivery_methods_test.rb will fail if test_helper_test.rb (in which
TestHelperMailerTest is inherited from ActionMailer::TestCase) runs
before it.
Diffstat (limited to 'actionpack/lib/action_controller/metal/testing.rb')
0 files changed, 0 insertions, 0 deletions
