aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-10-09 08:22:42 -0300
committerJosé Valim <jose.valim@gmail.com>2009-10-15 18:19:24 -0300
commit8f59d7a8d8e736d7f4b6730020c197d008fb0779 (patch)
tree3a2bc6beef44025353b5d5834e6e40572095e90e /actionpack/test
parentaf0d1fa8920793a95fae456d1f5debdc50287eb3 (diff)
downloadrails-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.rb2
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 }