spec/dummy/config/environments/test.rb in draper-1.0.0.beta6 vs spec/dummy/config/environments/test.rb in draper-1.0.0
- old
+ new
@@ -6,11 +6,11 @@
# 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
# Configure static asset server for tests with Cache-Control for performance
- config.serve_static_assets = true
+ # 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
@@ -23,10 +23,10 @@
# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection = false
# Raise exception on mass assignment protection for Active Record models
- config.active_record.mass_assignment_sanitizer = :strict
+ # config.active_record.mass_assignment_sanitizer = :strict
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
end