Skip to content
Browse files

Refactored to remove unnecessary setup

  • Loading branch information...
1 parent 022ed6c commit 2ff2f839ca7e8138114c2fbc7df6cad0e6bf10ee @anupamc anupamc committed Mar 30, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −1 actionmailer/test/asset_host_test.rb
  2. +0 −9 actionmailer/test/url_test.rb
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

0 comments on commit 2ff2f83

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