test/dummy/config/environments/test.rb in h2ocube_rails_helper-0.0.14 vs test/dummy/config/environments/test.rb in h2ocube_rails_helper-0.0.15
- old
+ new
@@ -5,13 +5,10 @@
# 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
- # 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
@@ -20,6 +17,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 if config.respond_to?(:eager_load)
end