aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-24 19:18:28 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-24 19:18:28 -0300
commit317f49493afc92c7aab1b9b43a1214a1966106e2 (patch)
tree0a1f281a8a303dbbfaa91e80f092fbe0b3a23c15 /activesupport
parent6775ad8c61b18e0df2df7c7103478d4f315c0cb3 (diff)
downloadrails-317f49493afc92c7aab1b9b43a1214a1966106e2.tar.gz
rails-317f49493afc92c7aab1b9b43a1214a1966106e2.tar.bz2
rails-317f49493afc92c7aab1b9b43a1214a1966106e2.zip
Add missing requires for deep_dup and hash ext test
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/object/deep_dup.rb2
-rw-r--r--activesupport/test/core_ext/hash_ext_test.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/deep_dup.rb b/activesupport/lib/active_support/core_ext/object/deep_dup.rb
index 883f5f556c..f55fbc282e 100644
--- a/activesupport/lib/active_support/core_ext/object/deep_dup.rb
+++ b/activesupport/lib/active_support/core_ext/object/deep_dup.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/duplicable'
+
class Object
# Returns a deep copy of object if it's duplicable. If it's
# not duplicable, returns +self+.
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb
index e8fc94e6d6..5d422ce5ad 100644
--- a/activesupport/test/core_ext/hash_ext_test.rb
+++ b/activesupport/test/core_ext/hash_ext_test.rb
@@ -4,6 +4,7 @@ require 'bigdecimal'
require 'active_support/core_ext/string/access'
require 'active_support/ordered_hash'
require 'active_support/core_ext/object/conversions'
+require 'active_support/core_ext/object/deep_dup'
require 'active_support/inflections'
class HashExtTest < ActiveSupport::TestCase