aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristina Thompson <c.thompsonms@gmail.com>2017-07-24 16:48:58 -0400
committerYuki Nishijima <yk.nishijima@gmail.com>2017-07-24 16:48:58 -0400
commit65d592842af7bc28f7d11f286a941ae59ad1abb5 (patch)
tree21a0db7c84dfe4d2b422e466900f2846ad74be30
parentd9ca57ab0b5c20af11f4b819e75306c668b203f7 (diff)
downloadrails-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>
-rw-r--r--activesupport/test/hash_with_indifferent_access_test.rb2
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