Chris@1115
|
1 # Settings specified here will take precedence over those in config/application.rb
|
Chris@1115
|
2 RedmineApp::Application.configure do
|
Chris@1115
|
3 # The test environment is used exclusively to run your application's
|
Chris@1115
|
4 # test suite. You never need to work with it otherwise. Remember that
|
Chris@1115
|
5 # your test database is "scratch space" for the test suite and is wiped
|
Chris@1115
|
6 # and recreated between test runs. Don't rely on the data there!
|
Chris@1115
|
7 config.cache_classes = true
|
Chris@0
|
8
|
Chris@1115
|
9 # Log error messages when you accidentally call methods on nil.
|
Chris@1115
|
10 config.whiny_nils = true
|
Chris@0
|
11
|
Chris@1115
|
12 # Show full error reports and disable caching
|
Chris@1115
|
13 #config.action_controller.consider_all_requests_local = true
|
Chris@1115
|
14 config.action_controller.perform_caching = false
|
Chris@0
|
15
|
Chris@1115
|
16 config.action_mailer.perform_deliveries = true
|
Chris@0
|
17
|
Chris@1115
|
18 # Tell Action Mailer not to deliver emails to the real world.
|
Chris@1115
|
19 # The :test delivery method accumulates sent emails in the
|
Chris@1115
|
20 # ActionMailer::Base.deliveries array.
|
Chris@1115
|
21 config.action_mailer.delivery_method = :test
|
Chris@0
|
22
|
Chris@1115
|
23 # Skip protect_from_forgery in requests
|
Chris@1115
|
24 # http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
|
Chris@1115
|
25 config.action_controller.allow_forgery_protection = false
|
Chris@0
|
26
|
Chris@1115
|
27 config.active_support.deprecation = :log
|
Chris@0
|
28
|
Chris@1115
|
29 config.secret_token = 'a secret token for running the tests'
|
Chris@1115
|
30 end
|