diff options
author | Christina Thompson <c.thompsonms@gmail.com> | 2017-07-24 16:48:58 -0400 |
---|---|---|
committer | Yuki Nishijima <yk.nishijima@gmail.com> | 2017-07-24 16:48:58 -0400 |
commit | 65d592842af7bc28f7d11f286a941ae59ad1abb5 (patch) | |
tree | 21a0db7c84dfe4d2b422e466900f2846ad74be30 /activesupport/test | |
parent | d9ca57ab0b5c20af11f4b819e75306c668b203f7 (diff) | |
download | rails-65d592842af7bc28f7d11f286a941ae59ad1abb5.tar.gz rails-65d592842af7bc28f7d11f286a941ae59ad1abb5.tar.bz2 rails-65d592842af7bc28f7d11f286a941ae59ad1abb5.zip |
remove depreciated assertion to eliminate warning
Signed-off-by: Yuki Nishijima <yk.nishijima@gmail.com>
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/hash_with_indifferent_access_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |