aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-07-24 17:11:19 -0400
committerGitHub <noreply@github.com>2017-07-24 17:11:19 -0400
commit39c0362b5796f4e816d13ea0009fc89534a50da6 (patch)
tree0cf780c38d9179abeab894e2328fb2ceaa673010
parentbd0d1e212a3db8be3cb7eb5251e736ee5fb07d51 (diff)
parent65d592842af7bc28f7d11f286a941ae59ad1abb5 (diff)
downloadrails-39c0362b5796f4e816d13ea0009fc89534a50da6.tar.gz
rails-39c0362b5796f4e816d13ea0009fc89534a50da6.tar.bz2
rails-39c0362b5796f4e816d13ea0009fc89534a50da6.zip
Merge pull request #29921 from xtina-starr/remove-depreciated-assertion
remove depreciated assertion to eliminate warning
-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