aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-04-07 08:18:11 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-04-07 08:18:11 +0900
commit49d02ac35870f8e9b84dfcf0d81991cb91399a07 (patch)
treed3556d0761de8bc24e2c77729641ce627c15af56 /activesupport
parente8c33349bfabca28996ac74d344d69c7aaffec50 (diff)
downloadrails-49d02ac35870f8e9b84dfcf0d81991cb91399a07.tar.gz
rails-49d02ac35870f8e9b84dfcf0d81991cb91399a07.tar.bz2
rails-49d02ac35870f8e9b84dfcf0d81991cb91399a07.zip
Fix `warning: already initialized constant HashWithIndifferentAccessTest::HashWithIndifferentAccess`
Caused since #28607.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/hash_with_indifferent_access_test.rb1
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 }