diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-04-19 04:03:43 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-04-19 04:03:43 +0530 |
commit | fe8a6ba3a12452c9ba9cd4da554e65b08df2155c (patch) | |
tree | 3cda4b914e3674eb8316c34ec973d8cc5a75e802 /activesupport | |
parent | 5f72fc6af8ad19df2b4e4f442b9ab17dd6846f46 (diff) | |
download | rails-fe8a6ba3a12452c9ba9cd4da554e65b08df2155c.tar.gz rails-fe8a6ba3a12452c9ba9cd4da554e65b08df2155c.tar.bz2 rails-fe8a6ba3a12452c9ba9cd4da554e65b08df2155c.zip |
"subhash" --> "sub-hash"
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 2 |
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"}} |