Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove the ActionMailer usage

  • Loading branch information...
commit 6eee9b01d34597b73acbb0aa8136ac504f096b66 1 parent 7570889
Mike Burns mike-burns authored
1  spec/dummy/config/application.rb
View
@@ -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"
5 spec/dummy/config/environments/test.rb
View
@@ -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
4 spec/spec_helper.rb
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
Please sign in to comment.
Something went wrong with that request. Please try again.