From 7beb176283d3888d4e8637e56cd14c2c90db8165 Mon Sep 17 00:00:00 2001 From: Michael Nelson Date: Thu, 2 Aug 2018 16:56:41 -0700 Subject: Set cache store as null_store for test environment --- .../rails/generators/rails/app/templates/config/environments/test.rb.tt | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/lib/rails/generators') diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt index 82f2a8aebe..223aa56187 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt @@ -21,6 +21,7 @@ Rails.application.configure do # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false + config.cache_store = :null_store # Raise exceptions instead of rendering exception templates. config.action_dispatch.show_exceptions = false -- cgit v1.2.3