aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-11-13 22:35:51 +0000
committerAndrew White <andrew.white@unboxed.co>2016-11-13 23:09:03 +0000
commit2ff2b98032409d162cd2a0ffc1b21c63057f628d (patch)
tree69dea7e4526ee307ea258436cf684a0352ac2367 /activesupport/test
parent0e8d297301305af9ac5d64e7cd2b0a418c139fce (diff)
downloadrails-2ff2b98032409d162cd2a0ffc1b21c63057f628d.tar.gz
rails-2ff2b98032409d162cd2a0ffc1b21c63057f628d.tar.bz2
rails-2ff2b98032409d162cd2a0ffc1b21c63057f628d.zip
Remove deprecated new_from_hash_copying_default
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/hash_ext_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb
index d35fa491a2..8b816b3aad 100644
--- a/activesupport/test/core_ext/hash_ext_test.rb
+++ b/activesupport/test/core_ext/hash_ext_test.rb
@@ -1051,13 +1051,6 @@ class HashExtTest < ActiveSupport::TestCase
assert_nothing_raised { hash.to_hash }
end
- def test_new_from_hash_copying_default_should_not_raise_when_default_proc_does
- hash = Hash.new
- hash.default_proc = proc { |h, k| raise "walrus" }
-
- assert_deprecated { HashWithIndifferentAccess.new_from_hash_copying_default(hash) }
- end
-
def test_new_with_to_hash_conversion_copies_default
normal_hash = Hash.new(3)
normal_hash[:a] = 1