From 49d02ac35870f8e9b84dfcf0d81991cb91399a07 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 7 Apr 2017 08:18:11 +0900 Subject: Fix `warning: already initialized constant HashWithIndifferentAccessTest::HashWithIndifferentAccess` Caused since #28607. --- activesupport/test/hash_with_indifferent_access_test.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activesupport') 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 } -- cgit v1.2.3