Permalink
Browse files

Fix caching test to ensure notifications are all delivered

  • Loading branch information...
1 parent 6e30361 commit 0c4990b5f4b8c99ea656170eff9bb9c3490de642 @jeremy jeremy committed Dec 1, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/caching_test.rb
@@ -640,6 +640,7 @@ def test_fragment_for_logging
assert fragment_computed
assert_equal 'generated till now -> ', buffer
+ ActiveSupport::Notifications.notifier.wait
assert_equal [:fragment_exist?, :write_fragment], events.map(&:first)
end

0 comments on commit 0c4990b

Please sign in to comment.