summaryrefslogtreecommitdiff
path: root/config/environments/test.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-22 15:38:11 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-22 15:38:11 +0200
commitc1ecfb5de960a675888640a05c75c07217c2d293 (patch)
treebdf9836a146c1a699bbf1db60102c901a50fec5b /config/environments/test.rb
parentadba37f99aa6351ce7ca29055d5aab284058bc2e (diff)
downloadgitlab-ce-c1ecfb5de960a675888640a05c75c07217c2d293.tar.gz
Disabling caching in test environment because it was causing issues with Markdown
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 2d5e7addcd3..e03f54c5530 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -7,6 +7,8 @@ Gitlab::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_assets = true
config.static_cache_control = "public, max-age=3600"