Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix caching test to ensure notifications are all delivered

  • Loading branch information...
commit 0c4990b5f4b8c99ea656170eff9bb9c3490de642 1 parent 6e30361
@jeremy jeremy authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  actionpack/test/controller/caching_test.rb
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.