Skip to content

Commit

Permalink
Refactored to remove unnecessary setup
Browse files Browse the repository at this point in the history
  • Loading branch information
anupamc committed Mar 30, 2013
1 parent 022ed6c commit 2ff2f83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion actionmailer/test/asset_host_test.rb
Expand Up @@ -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

Expand Down
9 changes: 0 additions & 9 deletions actionmailer/test/url_test.rb
Expand Up @@ -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

Expand Down

0 comments on commit 2ff2f83

Please sign in to comment.