Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Refactored to remove unnecessary setup #10004

Merged
merged 1 commit into from Mar 30, 2013
Jump to file or symbol
Failed to load files and symbols.
+0 −10
Split
@@ -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
@@ -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