add specs
This commit is contained in:
parent
e902aa0d5a
commit
45db0575b1
46 changed files with 714 additions and 238 deletions
|
|
@ -36,6 +36,9 @@ Rails.application.configure do
|
|||
|
||||
# Don't care if the mailer can't send.
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
config.action_mailer.perform_deliveries = true
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||
config.action_mailer.delivery_method = :letter_opener_web
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
|
|
@ -57,12 +60,12 @@ Rails.application.configure do
|
|||
config.assets.initialize_on_precompile = true
|
||||
|
||||
# Configure hostname for action mailer (can be overridden in foodcoop config)
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000, protocol: 'http' }
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000}
|
||||
|
||||
# Mailcatcher config, start mailcatcher from console with 'mailcatcher'
|
||||
# Mailcatcher can be installed by gem install mailcatcher
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { address: ENV.fetch("MAILCATCHER_ADDRESS", "localhost"), port: ENV.fetch("MAILCATCHER_PORT", 1025) }
|
||||
#config.action_mailer.delivery_method = :smtp
|
||||
#config.action_mailer.smtp_settings = { address: ENV.fetch("MAILCATCHER_ADDRESS", "localhost"), port: ENV.fetch("MAILCATCHER_PORT", 1025) }
|
||||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue