1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #24567 from Edouard-chin/ec-method-typo

Small typo on a method name:
This commit is contained in:
Sean Griffin 2016-04-19 10:23:58 -06:00
commit 18f02375e7

View file

@ -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