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

remove depreciated assertion to eliminate warning

Signed-off-by: Yuki Nishijima <yk.nishijima@gmail.com>
This commit is contained in:
Christina Thompson 2017-07-24 16:48:58 -04:00 committed by Yuki Nishijima
parent d9ca57ab0b
commit 65d592842a

View file

@ -560,7 +560,7 @@ class HashWithIndifferentAccessTest < ActiveSupport::TestCase
def test_double_conversion_with_nil_key def test_double_conversion_with_nil_key
h = { nil => "defined" }.with_indifferent_access.with_indifferent_access h = { nil => "defined" }.with_indifferent_access.with_indifferent_access
assert_equal nil, h[:undefined_key] assert_nil h[:undefined_key]
end end
def test_assorted_keys_not_stringified def test_assorted_keys_not_stringified