Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 466 Bytes
if RAILS_ENV.index("test")
require 'active_support/test_case'
ActionController::Base.perform_caching = true
ActionController::Base.send(:include, Cosinux::PageCacheTest::ClassCachingMethods)
ActiveSupport::TestCase.send(:include, Cosinux::PageCacheTest::IntegrationTestMethods)
ActionController::Base.send(:cache_store=, Cosinux::FragmentCacheTest::TestStore.new)
ActiveSupport::TestCase.send(:include, Cosinux::FragmentCacheTest::Assertions)
end