diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-04-06 19:55:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 19:55:06 -0400 |
commit | 5f08a230340934da2899cb5e2043952aa6bc59ae (patch) | |
tree | dcc29c0d4f92d70413b135c292d0a4489d7ccfdd /activesupport/test | |
parent | 0006fb78aa09f247f7f9c06b09ece3d2af207395 (diff) | |
parent | 49d02ac35870f8e9b84dfcf0d81991cb91399a07 (diff) | |
download | rails-5f08a230340934da2899cb5e2043952aa6bc59ae.tar.gz rails-5f08a230340934da2899cb5e2043952aa6bc59ae.tar.bz2 rails-5f08a230340934da2899cb5e2043952aa6bc59ae.zip |
Merge pull request #28687 from kamipo/fix_warning_already_initialized_constant
Fix `warning: already initialized constant HashWithIndifferentAccessTest::HashWithIndifferentAccess`
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/hash_with_indifferent_access_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/test/hash_with_indifferent_access_test.rb b/activesupport/test/hash_with_indifferent_access_test.rb index ee862320e8..b1177c6c15 100644 --- a/activesupport/test/hash_with_indifferent_access_test.rb +++ b/activesupport/test/hash_with_indifferent_access_test.rb @@ -675,7 +675,6 @@ class HashWithIndifferentAccessTest < ActiveSupport::TestCase assert_includes yaml_output, "hash" end end - HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess def test_should_use_default_proc_for_unknown_key hash_wia = HashWithIndifferentAccess.new { 1 + 2 } |