Browse files

We don't need to configure ActionMailer in plugin's test helper, it's…

… configured by dummy app
  • Loading branch information...
1 parent 9cb9713 commit 4d108cb33d818949e7682076ad662c99168093e4 @drogus committed Nov 2, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb
View
4 railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb
@@ -7,10 +7,6 @@
Rails.backtrace_cleaner.remove_silencers!
<% if full? -%>
-ActionMailer::Base.delivery_method = :test
-ActionMailer::Base.perform_deliveries = true
-ActionMailer::Base.default_url_options[:host] = "test.com"
-
# Configure capybara for integration testing
require "capybara/rails"
Capybara.default_driver = :rack_test

0 comments on commit 4d108cb

Please sign in to comment.