aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/hash_ext_test.rb
diff options
context:
space:
mode:
authorArthur Nogueira Neves <arthurnn@gmail.com>2014-04-19 09:46:08 -0500
committerArthur Nogueira Neves <arthurnn@gmail.com>2014-04-19 09:46:08 -0500
commitd39a0d8b82c768e06e78b307786cb4bdda43f5e9 (patch)
treeb5e950763095cb38c8fa41c166785dd7285ec432 /activesupport/test/core_ext/hash_ext_test.rb
parent92d92b0d8673ff948df64c92de11e5e2bc5af3b7 (diff)
parentfe8a6ba3a12452c9ba9cd4da554e65b08df2155c (diff)
downloadrails-d39a0d8b82c768e06e78b307786cb4bdda43f5e9.tar.gz
rails-d39a0d8b82c768e06e78b307786cb4bdda43f5e9.tar.bz2
rails-d39a0d8b82c768e06e78b307786cb4bdda43f5e9.zip
Merge pull request #14804 from akshay-vishnoi/doc_changes
"subhash" --> "sub-hash"
Diffstat (limited to 'activesupport/test/core_ext/hash_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/hash_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb
index 69a380c7cb..d824a16e98 100644
--- a/activesupport/test/core_ext/hash_ext_test.rb
+++ b/activesupport/test/core_ext/hash_ext_test.rb
@@ -635,7 +635,7 @@ class HashExtTest < ActiveSupport::TestCase
assert_equal 1, h['first']
end
- def test_indifferent_subhashes
+ def test_indifferent_sub_hashes
h = {'user' => {'id' => 5}}.with_indifferent_access
['user', :user].each {|user| [:id, 'id'].each {|id| assert_equal 5, h[user][id], "h[#{user.inspect}][#{id.inspect}] should be 5"}}