Skip to content

Commit

Permalink
Remove the ActionMailer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Sep 26, 2012
1 parent 7570889 commit 6eee9b0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion spec/dummy/config/application.rb
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions spec/dummy/config/environments/test.rb
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions spec/spec_helper.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6eee9b0

Please sign in to comment.