summaryrefslogtreecommitdiff
path: root/config/environments/test.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-10 14:34:12 +0000
committerDouwe Maan <douwe@gitlab.com>2015-12-10 14:34:12 +0000
commit4e5897f51ef97d7c3ff6c57f81521f552979a3da (patch)
treeef0655df13cef6c267ea3e547d497f92498142ed /config/environments/test.rb
parent3bfedbd25a933d59defbb0875fb80758919df4a6 (diff)
parent10387f6b8a9071688d7db9a12c910ca02660ca87 (diff)
downloadgitlab-ce-4e5897f51ef97d7c3ff6c57f81521f552979a3da.tar.gz
Merge branch 'tmp-reference-pipeline-and-caching' into 'master'
[Second try] Implement different Markdown rendering pipelines and cache Markdown !1602 already got merged in bcd89a58e736685bcce662fe0acf793ee925b536, but it would appear the merge commit disappeared because of #3816 (or some other reason). cc @rspeicher See merge request !2051
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index f96ac6f9753..d6842affa6c 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -7,6 +7,8 @@ Rails.application.configure do
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = false
+ config.cache_store = :null_store
+
# Configure static asset server for tests with Cache-Control for performance
config.serve_static_files = true
config.static_cache_control = "public, max-age=3600"