aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-06-08 21:37:34 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-06-09 12:09:10 +0200
commit8e8f126d91966884299d06d2bbaf7ba2c306a254 (patch)
treed45e92481507b388a79b53e0a7aa55aa9729ec4f /config
parentMark answer as unapproved if content was changed (diff)
downloadrecruiting-webapp-8e8f126d91966884299d06d2bbaf7ba2c306a254.tar.gz
recruiting-webapp-8e8f126d91966884299d06d2bbaf7ba2c306a254.tar.bz2
recruiting-webapp-8e8f126d91966884299d06d2bbaf7ba2c306a254.zip
Notify mentors about new answers of their recruits
Diffstat (limited to 'config')
-rw-r--r--config/environments/development.rb4
-rw-r--r--config/environments/test.rb3
2 files changed, 6 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 85c9a60..5478fb6 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -14,4 +14,6 @@ config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
# Don't care if the mailer can't send
-config.action_mailer.raise_delivery_errors = false \ No newline at end of file
+config.action_mailer.raise_delivery_errors = false
+
+config.action_mailer.default_url_options = { :host => 'localhost', :port => '3000' }
diff --git a/config/environments/test.rb b/config/environments/test.rb
index ec98184..7b551a9 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -30,3 +30,6 @@ config.action_mailer.delivery_method = :test
config.gem "rspec", :lib => false, :version => ">= 1.2.0"
config.gem "rspec-rails", :lib => false, :version => ">= 1.2.0"
config.gem 'shoulda', :lib => false
+config.gem 'email_spec', :lib => 'email_spec'
+
+config.action_mailer.default_url_options = { :host => 'localhost', :port => '3000' }