diff options
author | Michael Nelson <michael@nelsonware.com> | 2018-08-02 16:56:41 -0700 |
---|---|---|
committer | Michael Nelson <michael@nelsonware.com> | 2018-08-02 16:58:57 -0700 |
commit | 7beb176283d3888d4e8637e56cd14c2c90db8165 (patch) | |
tree | 1f23eb202fd4d4479c9898dab661193a7cb088b9 | |
parent | 2088b10b1fcce969c7d03fe4b2297442f1d02174 (diff) | |
download | rails-7beb176283d3888d4e8637e56cd14c2c90db8165.tar.gz rails-7beb176283d3888d4e8637e56cd14c2c90db8165.tar.bz2 rails-7beb176283d3888d4e8637e56cd14c2c90db8165.zip |
Set cache store as null_store for test environment
-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 |