Sha256: 2abc8543fdbcc3fc97a62033250e1e8b149d844f98f9da8c9d2b15906feb5852
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
RSpec.configure do |config| config.around(:each, enable_caching: true) do |example| previous_cache_store = ActionController::Base.cache_store ActionController::Base.perform_caching = true ActionController::Base.cache_store = :memory_store ActionController::Base.cache_store.clear example.run ActionController::Base.cache_store.clear ActionController::Base.cache_store = previous_cache_store ActionController::Base.perform_caching = false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
high_voltage-2.1.0 | spec/support/caching.rb |