diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-01 14:15:13 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-06-01 14:35:49 +0100 |
commit | 2535834f8ad35e7691384454013b5938a0a2af5d (patch) | |
tree | 67da4fe38badb35d6ac6594255b1b6ea1090da8f /spec | |
parent | 4b0ff7c742f7b41d45301a4be62c611eb580817a (diff) | |
download | gitlab-ce-2535834f8ad35e7691384454013b5938a0a2af5d.tar.gz |
ReactiveCaching#clear_reactive_cache! should clear the not keep the cache alive
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/concerns/reactive_caching_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/concerns/reactive_caching_spec.rb b/spec/models/concerns/reactive_caching_spec.rb index 4570dbb1d8e..f2a3df50c1a 100644 --- a/spec/models/concerns/reactive_caching_spec.rb +++ b/spec/models/concerns/reactive_caching_spec.rb @@ -94,6 +94,7 @@ describe ReactiveCaching, :use_clean_rails_memory_store_caching do end it { expect(instance.result).to be_nil } + it { expect(reactive_cache_alive?(instance)).to be_falsy } end describe '#exclusively_update_reactive_cache!' do |