aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/descendants_tracker_test_cases.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/descendants_tracker_test_cases.rb')
-rw-r--r--activesupport/test/descendants_tracker_test_cases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/descendants_tracker_test_cases.rb b/activesupport/test/descendants_tracker_test_cases.rb
index 1f8b4a8605..fd860f74da 100644
--- a/activesupport/test/descendants_tracker_test_cases.rb
+++ b/activesupport/test/descendants_tracker_test_cases.rb
@@ -37,7 +37,7 @@ module DescendantsTrackerTestCases
mark_as_autoloaded(*ALL) do
ActiveSupport::DescendantsTracker.clear
ALL.each do |k|
- assert ActiveSupport::DescendantsTracker.descendants(k).empty?
+ assert_predicate ActiveSupport::DescendantsTracker.descendants(k), :empty?
end
end
end