diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-11-02 12:56:00 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-11-02 17:14:52 +0100 |
commit | 4d108cb33d818949e7682076ad662c99168093e4 (patch) | |
tree | 7d857c8fe47ac2a913600f9601a76127e4c2298a /railties/lib | |
parent | 9cb9713eebd786bd5113470af67b6c81bb57986e (diff) | |
download | rails-4d108cb33d818949e7682076ad662c99168093e4.tar.gz rails-4d108cb33d818949e7682076ad662c99168093e4.tar.bz2 rails-4d108cb33d818949e7682076ad662c99168093e4.zip |
We don't need to configure ActionMailer in plugin's test helper, it's configured by dummy app
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb b/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb index d821079b91..4562c88a54 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +++ b/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb @@ -7,10 +7,6 @@ require "rails/test_help" 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 |