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:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-06-01 16:15:13 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-06-01 16:35:49 +0300
commit2535834f8ad35e7691384454013b5938a0a2af5d (patch)
tree67da4fe38badb35d6ac6594255b1b6ea1090da8f /spec/models/concerns
parent4b0ff7c742f7b41d45301a4be62c611eb580817a (diff)
ReactiveCaching#clear_reactive_cache! should clear the not keep the cache alive
Diffstat (limited to 'spec/models/concerns')
-rw-r--r--spec/models/concerns/reactive_caching_spec.rb1
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