1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix warning: already initialized constant HashWithIndifferentAccessTest::HashWithIndifferentAccess

Caused since #28607.
This commit is contained in:
Ryuta Kamizono 2017-04-07 08:18:11 +09:00
parent e8c33349bf
commit 49d02ac358

View file

@ -675,7 +675,6 @@ class HashWithIndifferentAccessTest < ActiveSupport::TestCase
assert_includes yaml_output, "hash" assert_includes yaml_output, "hash"
end end
end end
HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess
def test_should_use_default_proc_for_unknown_key def test_should_use_default_proc_for_unknown_key
hash_wia = HashWithIndifferentAccess.new { 1 + 2 } hash_wia = HashWithIndifferentAccess.new { 1 + 2 }