diff options
author | Rémy Coutable <remy@rymai.me> | 2019-07-02 16:11:33 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-07-02 16:11:33 +0000 |
commit | ff75b6b2dbd1d12b6989e3f8ead6e6e26d0742aa (patch) | |
tree | 4f513f298ff34856a691c425234e0fd7a12d8f0f /spec | |
parent | 5de53c55654dc2e37d4fe51321f2ae55cb24dff7 (diff) | |
parent | 385aa46046ec83e6837c106576699f76e65876a7 (diff) | |
download | gitlab-ce-ff75b6b2dbd1d12b6989e3f8ead6e6e26d0742aa.tar.gz |
Merge branch 'sh-cache-flipper-names-memory-cache' into 'master'
Cache Flipper persisted names directly to local memory storage
See merge request gitlab-org/gitlab-ce!30265
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/feature_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/feature_spec.rb b/spec/lib/feature_spec.rb index 6f05914f915..403e0785d1b 100644 --- a/spec/lib/feature_spec.rb +++ b/spec/lib/feature_spec.rb @@ -40,7 +40,7 @@ describe Feature do .once .and_call_original - expect(Rails.cache) + expect(Gitlab::ThreadMemoryCache.cache_backend) .to receive(:fetch) .once .with('flipper:persisted_names', expires_in: 1.minute) |