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:
parent
e8c33349bf
commit
49d02ac358
1 changed files with 0 additions and 1 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue