title: Dalli caching doesn't work rspec
body: <p>Am trying to use Rails.cache.read and Rails.cache.write helpers during my rspec scenario but it doesn't work. Am using dalli_store for cache store.
  I wrote </p>
  
  <pre><code>ActionController::Base.perform_caching = true 
  </code></pre>
  
  <p>in any random test scenario and then run only this rspec. And when I jump to the next line to the breakpoint and try to write in console </p>
  
  <pre><code>Rails.cache.write("f", "b") =&gt; true
  Rails.cache.read("f") =&gt; nil 
  </code></pre>
  
  <p>When I do the same thing in console running in dev env -  I've got all expected results. It stores the values in cache and returns it</p>