aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/caching_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
-rw-r--r--actionpack/test/controller/caching_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb
index 54d1a72f1f..5a8dc0c358 100644
--- a/actionpack/test/controller/caching_test.rb
+++ b/actionpack/test/controller/caching_test.rb
@@ -630,6 +630,8 @@ class FragmentCachingTest < ActionController::TestCase
end
def test_fragment_for_logging
+ # Wait pending notifications to be published
+ ActiveSupport::Notifications.notifier.wait
@controller.logger = MockLogger.new
fragment_computed = false