public
Description: Some assertions for testing that fragment cache, and action cache is generated or expired
Homepage: http://github.com/ferblape/cache_test
Clone URL: git://github.com/ferblape/cache_test.git
cache_test / init.rb
100644 7 lines (5 sloc) 0.158 kb
1
2
3
4
5
6
7
if RAILS_ENV == "test"
  
  require 'cache_test'
  ActionController::Base.perform_caching = true
  ActionController::Base.cache_store = :test_store
  
end