diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-19 10:23:58 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-19 10:23:58 -0600 |
commit | 18f02375e7b48497fd412cff3ee44d3e0b69590b (patch) | |
tree | 6d1882ad96056fad725a083f85a3fd7b836a6ef7 | |
parent | 1782a8dd1ec12731b732ac2563ab9120cd8c5ad6 (diff) | |
parent | 106ac1016fd98ae3ef33b261529e0f7cd9ed0f04 (diff) | |
download | rails-18f02375e7b48497fd412cff3ee44d3e0b69590b.tar.gz rails-18f02375e7b48497fd412cff3ee44d3e0b69590b.tar.bz2 rails-18f02375e7b48497fd412cff3ee44d3e0b69590b.zip |
Merge pull request #24567 from Edouard-chin/ec-method-typo
Small typo on a method name:
-rw-r--r-- | actionmailer/lib/action_mailer/test_case.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/test_case.rb b/actionmailer/lib/action_mailer/test_case.rb index d83719e57d..65e7347ae4 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -15,11 +15,11 @@ module ActionMailer extend ActiveSupport::Concern included do - teardown :clear_test_deliviers + teardown :clear_test_deliveries end private - def clear_test_deliviers + def clear_test_deliveries if ActionMailer::Base.delivery_method == :test ActionMailer::Base.deliveries.clear end |