diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-18 13:14:43 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-18 13:14:43 -0700 |
commit | a3ad0a7b6718eef9462b519189cd67e2ca29bc28 (patch) | |
tree | 53f36815500d4517f73feec2a00762e4fe07426c /activesupport/test/descendants_tracker_test_cases.rb | |
parent | 9f84e60ac9d7bf07d6ae1bc94f3941f5b8f1a228 (diff) | |
download | rails-a3ad0a7b6718eef9462b519189cd67e2ca29bc28.tar.gz rails-a3ad0a7b6718eef9462b519189cd67e2ca29bc28.tar.bz2 rails-a3ad0a7b6718eef9462b519189cd67e2ca29bc28.zip |
fix assertions
Diffstat (limited to 'activesupport/test/descendants_tracker_test_cases.rb')
-rw-r--r-- | activesupport/test/descendants_tracker_test_cases.rb | 4 |
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 |