diff options
author | George Claghorn <george.claghorn@gmail.com> | 2018-09-02 14:38:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-02 14:38:34 -0400 |
commit | 53eea40d354dafbeda1703aa0e4b4a688bc26017 (patch) | |
tree | 3d1d2ba0adf3e476f956cd114c80ed8f5d78d366 /railties | |
parent | 9b56cbd98dc422976cd59ec9644d670768efdfc2 (diff) | |
parent | 7beb176283d3888d4e8637e56cd14c2c90db8165 (diff) | |
download | rails-53eea40d354dafbeda1703aa0e4b4a688bc26017.tar.gz rails-53eea40d354dafbeda1703aa0e4b4a688bc26017.tar.bz2 rails-53eea40d354dafbeda1703aa0e4b4a688bc26017.zip |
Merge pull request #33773 from mcnelson/null_cache_store_for_test_env
Make null_store the default cache store in test environment config
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |