Permalink
Browse files

Remove the ActionMailer usage

  • Loading branch information...
1 parent 7570889 commit 6eee9b01d34597b73acbb0aa8136ac504f096b66 @mike-burns mike-burns committed Sep 26, 2012
Showing with 0 additions and 10 deletions.
  1. +0 −1 spec/dummy/config/application.rb
  2. +0 −5 spec/dummy/config/environments/test.rb
  3. +0 −4 spec/spec_helper.rb
@@ -3,7 +3,6 @@
require "active_model/railtie"
require "action_controller/railtie"
require "action_view/railtie"
-require "action_mailer/railtie"
Bundler.require
require "high_voltage"
@@ -20,11 +20,6 @@
# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection = false
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
View
@@ -5,10 +5,6 @@
require "rails/test_help"
require "rspec/rails"
-ActionMailer::Base.delivery_method = :test
-ActionMailer::Base.perform_deliveries = true
-ActionMailer::Base.default_url_options[:host] = "test.com"
-
Rails.backtrace_cleaner.remove_silencers!
# Configure capybara for integration testing

0 comments on commit 6eee9b0

Please sign in to comment.