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:
parent
d9ca57ab0b
commit
65d592842a
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ class HashWithIndifferentAccessTest < ActiveSupport::TestCase
|
|||
def test_double_conversion_with_nil_key
|
||||
h = { nil => "defined" }.with_indifferent_access.with_indifferent_access
|
||||
|
||||
assert_equal nil, h[:undefined_key]
|
||||
assert_nil h[:undefined_key]
|
||||
end
|
||||
|
||||
def test_assorted_keys_not_stringified
|
||||
|
|
Loading…
Reference in a new issue