test/app/config/environments/test.rb in focused_controller-1.0.0 vs test/app/config/environments/test.rb in focused_controller-1.1.0
- old
+ new
@@ -9,13 +9,10 @@
# Configure static asset server for tests with Cache-Control for performance
config.serve_static_assets = true
config.static_cache_control = "public, max-age=3600"
- # Log error messages when you accidentally call methods on nil
- config.whiny_nils = true
-
# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Raise exceptions instead of rendering exception templates
@@ -24,6 +21,8 @@
# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection = false
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
+
+ config.eager_load = false
end