aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/descendants_tracker_with_autoloading_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/descendants_tracker_with_autoloading_test.rb')
-rw-r--r--activesupport/test/descendants_tracker_with_autoloading_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/descendants_tracker_with_autoloading_test.rb b/activesupport/test/descendants_tracker_with_autoloading_test.rb
index 10efbfbb8c..d4fedb5a67 100644
--- a/activesupport/test/descendants_tracker_with_autoloading_test.rb
+++ b/activesupport/test/descendants_tracker_with_autoloading_test.rb
@@ -12,7 +12,7 @@ class DescendantsTrackerWithAutoloadingTest < ActiveSupport::TestCase
mark_as_autoloaded(*ALL) do
ActiveSupport::DescendantsTracker.clear
ALL.each do |k|
- assert_predicate ActiveSupport::DescendantsTracker.descendants(k), :empty?
+ assert_empty ActiveSupport::DescendantsTracker.descendants(k)
end
end
end