Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-17 06:08:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-17 06:08:18 +0300
commit40fb10f78e8f42631cc00ea87126782a3a79c5e6 (patch)
treef58dd4c35403a04fb0e20b467dffaa7ef03ab225 /spec/support
parentf5aa3fa295173433148adfe9240d82874d90136f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/caching.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/support/caching.rb b/spec/support/caching.rb
index 119c521f732..46b6c7afa90 100644
--- a/spec/support/caching.rb
+++ b/spec/support/caching.rb
@@ -23,9 +23,7 @@ RSpec.configure do |config|
config.around(:each, :use_clean_rails_redis_caching) do |example|
original_null_store = Rails.cache
- caching_config_hash = Gitlab::Redis::Cache.params
- caching_config_hash[:namespace] = Gitlab::Redis::Cache::CACHE_NAMESPACE
- Rails.cache = ActiveSupport::Cache::RedisCacheStore.new(**caching_config_hash)
+ Rails.cache = ActiveSupport::Cache::RedisCacheStore.new(**Gitlab::Redis::Cache.active_support_config)
redis_cache_cleanup!