test/dummy/config/environments/test.rb in pdfcraft-1.0.1 vs test/dummy/config/environments/test.rb in pdfcraft-2.0.0
- old
+ new
@@ -11,11 +11,11 @@
# just for the purpose of running a single test. If you are using a tool that
# preloads Rails for running tests, you may have to set it to true.
config.eager_load = false
# Configure static asset server for tests with Cache-Control for performance.
- config.serve_static_assets = true
+ config.serve_static_files = true
config.static_cache_control = "public, max-age=3600"
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
@@ -31,7 +31,9 @@
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
+
+ config.active_support.test_order = :random
end