2012-05-09 16:04:10 +04:00
|
|
|
# Settings specified here will take precedence over those in config/application.rb
|
2012-04-25 21:17:49 +04:00
|
|
|
RedmineApp::Application.configure do
|
|
|
|
# The test environment is used exclusively to run your application's
|
|
|
|
# test suite. You never need to work with it otherwise. Remember that
|
|
|
|
# your test database is "scratch space" for the test suite and is wiped
|
|
|
|
# and recreated between test runs. Don't rely on the data there!
|
|
|
|
config.cache_classes = true
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
# Log error messages when you accidentally call methods on nil.
|
|
|
|
config.whiny_nils = true
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
# Show full error reports and disable caching
|
|
|
|
#config.action_controller.consider_all_requests_local = true
|
|
|
|
config.action_controller.perform_caching = false
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
config.action_mailer.perform_deliveries = true
|
2012-05-09 17:58:59 +04:00
|
|
|
|
|
|
|
# Tell Action Mailer not to deliver emails to the real world.
|
|
|
|
# The :test delivery method accumulates sent emails in the
|
|
|
|
# ActionMailer::Base.deliveries array.
|
2012-04-25 21:17:49 +04:00
|
|
|
config.action_mailer.delivery_method = :test
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2012-05-09 17:58:59 +04:00
|
|
|
# Skip protect_from_forgery in requests
|
|
|
|
# http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
|
2012-04-25 21:17:49 +04:00
|
|
|
config.action_controller.allow_forgery_protection = false
|
2009-02-21 14:04:50 +03:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
config.active_support.deprecation = :log
|
2009-10-18 00:37:23 +04:00
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
config.secret_token = 'a secret token for running the tests'
|
|
|
|
end
|