1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove LocalCache in FileStore

This commit is contained in:
Jean Boussier 2021-06-28 13:38:48 +02:00
parent 0ffdf6dfe7
commit a2148b9d0a
3 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,6 @@ module ActiveSupport
# FileStore implements the Strategy::LocalCache strategy which implements
# an in-memory cache inside of a block.
class FileStore < Store
prepend Strategy::LocalCache
attr_reader :cache_path
DIR_FORMATTER = "%03X"

View file

@ -32,7 +32,6 @@ class FileStoreTest < ActiveSupport::TestCase
include CacheStoreBehavior
include CacheStoreVersionBehavior
include CacheStoreCoderBehavior
include LocalCacheBehavior
include CacheDeleteMatchedBehavior
include CacheIncrementDecrementBehavior
include CacheInstrumentationBehavior

View file

@ -204,6 +204,7 @@ module TestHelpers
config.hosts << proc { true }
config.eager_load = false
config.session_store :cookie_store, key: "_myapp_session"
config.cache_store = :mem_cache_store
config.active_support.deprecation = :log
config.action_controller.allow_forgery_protection = false
RUBY