diff options
author | Lucas Mazza <lucastmazza@gmail.com> | 2014-08-19 23:53:19 -0300 |
---|---|---|
committer | Lucas Mazza <lucastmazza@gmail.com> | 2014-08-19 23:53:19 -0300 |
commit | 63f7b22a4edb4d35f8a209733e44c015d12f55a3 (patch) | |
tree | 85c0d0fdff7ecffffde6e22f726fa2f61faf0cfe /actionmailer/test/asset_host_test.rb | |
parent | 78728af2c9bba23ac96c8e78666102f58e6c890d (diff) | |
download | rails-63f7b22a4edb4d35f8a209733e44c015d12f55a3.tar.gz rails-63f7b22a4edb4d35f8a209733e44c015d12f55a3.tar.bz2 rails-63f7b22a4edb4d35f8a209733e44c015d12f55a3.zip |
Remove global helpers from the ActionMailer test suite.
Diffstat (limited to 'actionmailer/test/asset_host_test.rb')
-rw-r--r-- | actionmailer/test/asset_host_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionmailer/test/asset_host_test.rb b/actionmailer/test/asset_host_test.rb index 9ba67c2842..dd3b38544f 100644 --- a/actionmailer/test/asset_host_test.rb +++ b/actionmailer/test/asset_host_test.rb @@ -9,11 +9,8 @@ class AssetHostMailer < ActionMailer::Base end end -class AssetHostTest < ActiveSupport::TestCase +class AssetHostTest < ActionMailer::TestCase def setup - set_delivery_method :test - ActionMailer::Base.perform_deliveries = true - ActionMailer::Base.deliveries.clear AssetHostMailer.configure do |c| c.asset_host = "http://www.example.com" end |