aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/descendants_tracker_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/descendants_tracker_test.rb')
-rw-r--r--activesupport/test/descendants_tracker_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/descendants_tracker_test.rb b/activesupport/test/descendants_tracker_test.rb
index e3eccb8aa9..3a424180de 100644
--- a/activesupport/test/descendants_tracker_test.rb
+++ b/activesupport/test/descendants_tracker_test.rb
@@ -70,6 +70,6 @@ class DescendantsTrackerTest < Test::Unit::TestCase
yield
ensure
ActiveSupport::Dependencies.autoloaded_constants = old_autoloaded
- ActiveSupport::DescendantsTracker.descendants = old_descendants
+ ActiveSupport::DescendantsTracker.descendants.replace(old_descendants)
end
end \ No newline at end of file