aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/test.rb
diff options
context:
space:
mode:
authorMarc Florisson2012-09-07 16:23:25 +0200
committerMarc Florisson2012-09-07 16:23:25 +0200
commit649e931ed4fd282229c7aca65092b03e13c57b0c (patch)
treeec9f8c0e1fe67fcc176a5c93f2646fbebd9224d0 /config/environments/test.rb
parent52e6883e0ad7d2ce1c03cd9db390e1cde66d1a7b (diff)
downloadchouette-core-649e931ed4fd282229c7aca65092b03e13c57b0c.tar.bz2
fix spec
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 2d2e45717..cefbcd8af 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -31,6 +31,7 @@ ChouetteIhm::Application.configure do
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
+ config.action_mailer.default_url_options = { :host => 'localhost:3000' }
# 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,
@@ -40,6 +41,7 @@ ChouetteIhm::Application.configure do
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
+
config.to_prepare do
Chouette::Command.command = "true"
end