From 106ac1016fd98ae3ef33b261529e0f7cd9ed0f04 Mon Sep 17 00:00:00 2001 From: Edouard CHIN Date: Fri, 15 Apr 2016 13:27:09 -0400 Subject: [PATCH] Small typo on a method name: - clear_test_deliviers -> clear_test_deliveries --- actionmailer/lib/action_mailer/test_case.rb | 4 ++-- 1 file 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