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:
parent
0ffdf6dfe7
commit
a2148b9d0a
3 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -32,7 +32,6 @@ class FileStoreTest < ActiveSupport::TestCase
|
|||
include CacheStoreBehavior
|
||||
include CacheStoreVersionBehavior
|
||||
include CacheStoreCoderBehavior
|
||||
include LocalCacheBehavior
|
||||
include CacheDeleteMatchedBehavior
|
||||
include CacheIncrementDecrementBehavior
|
||||
include CacheInstrumentationBehavior
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue