aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/hash_ext_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext/hash_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/hash_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb
index 1d9b56b1b4..265416dce7 100644
--- a/activesupport/test/core_ext/hash_ext_test.rb
+++ b/activesupport/test/core_ext/hash_ext_test.rb
@@ -1042,7 +1042,7 @@ class HashExtTest < ActiveSupport::TestCase
hash = Hash.new
hash.default_proc = proc { |h, k| raise "walrus" }
- assert_nothing_raised { HashWithIndifferentAccess.new_from_hash_copying_default(hash) }
+ assert_deprecated { HashWithIndifferentAccess.new_from_hash_copying_default(hash) }
end
def test_new_with_to_hash_conversion_copies_default