Skip to content

Commit

Permalink
Merge pull request #24567 from Edouard-chin/ec-method-typo
Browse files Browse the repository at this point in the history
Small typo on a method name:
  • Loading branch information
sgrif committed Apr 19, 2016
2 parents 1782a8d + 106ac10 commit 18f0237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionmailer/lib/action_mailer/test_case.rb
Expand Up @@ -15,11 +15,11 @@ module ClearTestDeliveries
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
Expand Down

0 comments on commit 18f0237

Please sign in to comment.