aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/log_subscriber_test.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-03-04 16:50:57 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-03-04 16:50:57 -0800
commitff29606c061099f82668ab62e50660cda8645512 (patch)
treed7da0a6a9c0ba72ce1f9b7f61c3bf0c8442bc5c5 /actionpack/test/controller/log_subscriber_test.rb
parentc8e1cc8657c19a852f3c84cdc61df538486f5adf (diff)
downloadrails-ff29606c061099f82668ab62e50660cda8645512.tar.gz
rails-ff29606c061099f82668ab62e50660cda8645512.tar.bz2
rails-ff29606c061099f82668ab62e50660cda8645512.zip
Refactor cache_store to use ActionController config
Diffstat (limited to 'actionpack/test/controller/log_subscriber_test.rb')
-rw-r--r--actionpack/test/controller/log_subscriber_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/controller/log_subscriber_test.rb b/actionpack/test/controller/log_subscriber_test.rb
index 1f8134822c..20d3e77b6e 100644
--- a/actionpack/test/controller/log_subscriber_test.rb
+++ b/actionpack/test/controller/log_subscriber_test.rb
@@ -46,8 +46,7 @@ class ACLogSubscriberTest < ActionController::TestCase
@cache_path = File.expand_path('../temp/test_cache', File.dirname(__FILE__))
ActionController::Base.page_cache_directory = @cache_path
- ActionController::Base.cache_store = :file_store, @cache_path
-
+ @controller.cache_store = :file_store, @cache_path
Rails::LogSubscriber.add(:action_controller, ActionController::Railties::LogSubscriber.new)
end