From a3ad0a7b6718eef9462b519189cd67e2ca29bc28 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 18 Oct 2012 13:14:43 -0700 Subject: [PATCH] fix assertions --- activesupport/test/descendants_tracker_test_cases.rb | 4 ++-- 1 file 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