Methods
S
T
Instance Public methods
setup()
# File actionpack/test/controller/caching_test.rb, line 18
def setup
  super
  @store = ActiveSupport::Cache::MemoryStore.new
  @controller = FragmentCachingMetalTestController.new
  @controller.perform_caching = true
  @controller.cache_store = @store
  @params = { controller: 'posts', action: 'index' }
  @controller.params = @params
  @controller.request = @request
  @controller.response = @response
end
test_fragment_cache_key()
# File actionpack/test/controller/caching_test.rb, line 30
def test_fragment_cache_key
  assert_equal 'views/what a key', @controller.fragment_cache_key('what a key')
end