diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-17 06:08:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-17 06:08:18 +0300 |
commit | 40fb10f78e8f42631cc00ea87126782a3a79c5e6 (patch) | |
tree | f58dd4c35403a04fb0e20b467dffaa7ef03ab225 /spec/support | |
parent | f5aa3fa295173433148adfe9240d82874d90136f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/caching.rb | 4 |
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! |