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:
commit
18f02375e7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue