diff options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index 69b0eb5e3e..79d028b221 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -626,7 +626,7 @@ class FragmentCachingTest < ActionController::TestCase fragment_computed = false listener = [] - ActiveSupport::Orchestra.register listener + ActiveSupport::Notifications.register listener buffer = 'generated till now -> ' @controller.fragment_for(buffer, 'expensive') { fragment_computed = true } @@ -637,7 +637,7 @@ class FragmentCachingTest < ActionController::TestCase assert fragment_computed assert_equal 'generated till now -> ', buffer ensure - ActiveSupport::Orchestra.unregister listener + ActiveSupport::Notifications.unregister listener end end |