Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refactored to remove unnecessary setup

  • Loading branch information...
commit 2ff2f839ca7e8138114c2fbc7df6cad0e6bf10ee 1 parent 022ed6c
@anupamc anupamc 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.