aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-05-05 07:01:33 +0930
committerMatthew Draper <matthew@trebex.net>2015-05-05 07:01:33 +0930
commit3b1abcc2225426d0b3245bbf8b9777b44716f9f7 (patch)
tree3f063b8340df69921a8f1e2be589f7f43f1c9c38 /activesupport
parente5139f17d468a8dfe2f2d1ea45e36ed256e4b4bd (diff)
downloadrails-3b1abcc2225426d0b3245bbf8b9777b44716f9f7.tar.gz
rails-3b1abcc2225426d0b3245bbf8b9777b44716f9f7.tar.bz2
rails-3b1abcc2225426d0b3245bbf8b9777b44716f9f7.zip
Put the assertion arguments in the right order
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/object/deep_dup_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/deep_dup_test.rb b/activesupport/test/core_ext/object/deep_dup_test.rb
index 38fbe1f836..791b5e7172 100644
--- a/activesupport/test/core_ext/object/deep_dup_test.rb
+++ b/activesupport/test/core_ext/object/deep_dup_test.rb
@@ -53,7 +53,7 @@ class DeepDupTest < ActiveSupport::TestCase
def test_deep_dup_with_hash_class_key
hash = { Fixnum => 1 }
dup = hash.deep_dup
- assert_equal dup.keys.length, 1
+ assert_equal 1, dup.keys.length
end
end