]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/test.rb
Add memcache support
[rails.git] / config / environments / test.rb
index 58850a7974fb92dbc7d7cf637466499c8b5dbd1a..44dd2992bb8431224ff2f2d15a8a913ecb6e4d2c 100644 (file)
@@ -12,6 +12,7 @@ config.whiny_nils = true
 # Show full error reports and disable caching
 config.action_controller.consider_all_requests_local = true
 config.action_controller.perform_caching             = false
+config.action_view.cache_template_loading            = true
 
 # Disable request forgery protection in test environment
 config.action_controller.allow_forgery_protection    = false
@@ -20,3 +21,6 @@ config.action_controller.allow_forgery_protection    = false
 # The :test delivery method accumulates sent emails in the
 # ActionMailer::Base.deliveries array.
 config.action_mailer.delivery_method = :test
+
+# Load timecop to help with testing time dependent code
+config.gem 'timecop'