diff options
Diffstat (limited to 'spec/experiments/application_experiment/cache_spec.rb')
-rw-r--r-- | spec/experiments/application_experiment/cache_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/experiments/application_experiment/cache_spec.rb b/spec/experiments/application_experiment/cache_spec.rb index a420d557155..4caa91e6ac4 100644 --- a/spec/experiments/application_experiment/cache_spec.rb +++ b/spec/experiments/application_experiment/cache_spec.rb @@ -51,16 +51,4 @@ RSpec.describe ApplicationExperiment::Cache do 'invalid call to clear a non-hash cache key' ) end - - context "when the :caching_experiments feature is disabled" do - before do - stub_feature_flags(caching_experiments: false) - end - - it "doesn't write to the cache" do - subject.write(key_field, 'value') - - expect(subject.read(key_field)).to be_nil - end - end end |