Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10004 from choudhuryanupam/master

Refactored to remove unnecessary setup
  • Loading branch information...
commit 6e170e1b71bddcfece093700384373e33d3866b2 2 parents bacae87 + 2ff2f83
@rafaelfranca rafaelfranca authored
View
1  actionmailer/test/asset_host_test.rb
@@ -16,7 +16,6 @@ def setup
ActionMailer::Base.deliveries.clear
AssetHostMailer.configure do |c|
c.asset_host = "http://www.example.com"
- c.assets_dir = ''
end
end
View
9 actionmailer/test/url_test.rb
@@ -41,18 +41,9 @@ def new_mail( charset="UTF-8" )
end
def setup
- set_delivery_method :test
- ActionMailer::Base.perform_deliveries = true
- ActionMailer::Base.deliveries.clear
- ActiveSupport::Deprecation.silenced = false
-
@recipient = 'test@localhost'
end
- def teardown
- restore_delivery_method
- end
-
def test_signed_up_with_url
UrlTestMailer.delivery_method = :test
Please sign in to comment.
Something went wrong with that request. Please try again.