aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/test/descendants_tracker_test_cases.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/descendants_tracker_test_cases.rb b/activesupport/test/descendants_tracker_test_cases.rb
index 8f8feb462c..69e046998e 100644
--- a/activesupport/test/descendants_tracker_test_cases.rb
+++ b/activesupport/test/descendants_tracker_test_cases.rb
@@ -43,7 +43,7 @@ module DescendantsTrackerTestCases
protected
def assert_equal_sets(expected, actual)
- Set.new(expected) == Set.new(actual)
+ assert_equal Set.new(expected), Set.new(actual)
end
def mark_as_autoloaded(*klasses)
@@ -62,4 +62,4 @@ module DescendantsTrackerTestCases
ActiveSupport::Dependencies.autoloaded_constants = old_autoloaded if defined? ActiveSupport::Dependencies
ActiveSupport::DescendantsTracker.class_eval("@@direct_descendants").replace(old_descendants)
end
-end \ No newline at end of file
+end