diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2016-04-15 13:27:09 -0400 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2016-04-15 13:27:09 -0400 |
commit | 106ac1016fd98ae3ef33b261529e0f7cd9ed0f04 (patch) | |
tree | c2c2c89957ebb7e2899a5af0b58d7c8d6455466c | |
parent | 39e087cbf5628ecc351fc86a3a1e320be193bf29 (diff) | |
download | rails-106ac1016fd98ae3ef33b261529e0f7cd9ed0f04.tar.gz rails-106ac1016fd98ae3ef33b261529e0f7cd9ed0f04.tar.bz2 rails-106ac1016fd98ae3ef33b261529e0f7cd9ed0f04.zip |
Small typo on a method name:
- clear_test_deliviers -> clear_test_deliveries
-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 |