diff options
author | José Valim <jose.valim@gmail.com> | 2009-10-09 08:22:42 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-10-15 18:19:24 -0300 |
commit | 8f59d7a8d8e736d7f4b6730020c197d008fb0779 (patch) | |
tree | 3a2bc6beef44025353b5d5834e6e40572095e90e /actionpack/test | |
parent | af0d1fa8920793a95fae456d1f5debdc50287eb3 (diff) | |
download | rails-8f59d7a8d8e736d7f4b6730020c197d008fb0779.tar.gz rails-8f59d7a8d8e736d7f4b6730020c197d008fb0779.tar.bz2 rails-8f59d7a8d8e736d7f4b6730020c197d008fb0779.zip |
Instrument cache store events only if required.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index 99d7192a9e..3408233b66 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -628,7 +628,7 @@ class FragmentCachingTest < ActionController::TestCase def test_fragment_for_logging fragment_computed = false - ActiveSupport::Orchestra.queue.expects(:publish).times(4) + ActiveSupport::Orchestra.queue.expects(:publish).times(2) buffer = 'generated till now -> ' @controller.fragment_for(buffer, 'expensive') { fragment_computed = true } |