From 65d592842af7bc28f7d11f286a941ae59ad1abb5 Mon Sep 17 00:00:00 2001 From: Christina Thompson Date: Mon, 24 Jul 2017 16:48:58 -0400 Subject: [PATCH] remove depreciated assertion to eliminate warning Signed-off-by: Yuki Nishijima --- activesupport/test/hash_with_indifferent_access_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/test/hash_with_indifferent_access_test.rb b/activesupport/test/hash_with_indifferent_access_test.rb index 77fc039459..b3788ee65c 100644 --- a/activesupport/test/hash_with_indifferent_access_test.rb +++ b/activesupport/test/hash_with_indifferent_access_test.rb @@ -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