Skip to content
Browse files

Merge pull request #14326 from arthurnn/backport_14318

Make sure we clean preview_interceptors
  • Loading branch information...
2 parents 93086d2 + 3ac2aea commit 9f559b0f7c9f7ea3f71845d4e0c8a05b0ea0b1e6 @spastorino spastorino committed Mar 8, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionmailer/test/base_test.rb
View
1 actionmailer/test/base_test.rb
@@ -13,6 +13,7 @@ class BaseTest < ActiveSupport::TestCase
def teardown
ActionMailer::Base.asset_host = nil
ActionMailer::Base.assets_dir = nil
+ ActionMailer::Base.preview_interceptors.clear
end
test "method call to mail does not raise error" do

0 comments on commit 9f559b0

Please sign in to comment.
Something went wrong with that request. Please try again.