aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/test
diff options
context:
space:
mode:
authorZuhao Wan <wanzuhao@gmail.com>2014-06-07 00:11:24 +0800
committerZuhao Wan <wanzuhao@gmail.com>2014-06-07 00:11:24 +0800
commitc4f4123ef45463a09b36186047dbdc82f933fe46 (patch)
tree605cd59844aad17a929f137be18cd98318089681 /guides/code/getting_started/test
parentecd4151aa829214c7b10f24bc5eca194089b4319 (diff)
downloadrails-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 'guides/code/getting_started/test')
0 files changed, 0 insertions, 0 deletions