Move mailer configuration to the app.
This commit is contained in:
parent
da971e4249
commit
41311eb38d
|
@ -29,5 +29,7 @@ module RailsApp
|
|||
|
||||
# Configure sensitive parameters which will be filtered from the log file.
|
||||
config.filter_parameters << :password
|
||||
|
||||
config.action_mailer.default_url_options = { :host => "localhost:3000" }
|
||||
end
|
||||
end
|
||||
|
|
|
@ -11,10 +11,6 @@ require "orm/#{DEVISE_ORM}"
|
|||
I18n.load_path << File.expand_path("../support/locale/en.yml", __FILE__)
|
||||
require 'mocha'
|
||||
|
||||
ActionMailer::Base.delivery_method = :test
|
||||
ActionMailer::Base.perform_deliveries = true
|
||||
ActionMailer::Base.default_url_options[:host] = 'test.com'
|
||||
|
||||
Webrat.configure do |config|
|
||||
config.mode = :rails
|
||||
config.open_error_files = false
|
||||
|
|
Loading…
Reference in New Issue