aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/duplicable_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-05-21 04:57:36 -0700
committerJosé Valim <jose.valim@gmail.com>2011-05-21 04:57:36 -0700
commit1a959ad72fc92a82e05e8c271858a64ed14b926e (patch)
tree1f9b208a74d09f0811a6ccee60e73511bd89a6f5 /activesupport/test/core_ext/duplicable_test.rb
parent26703f49055505e5edccf6c955abbde72bdff0c2 (diff)
parent6b0dc80adc18e999302a30cd89dd001ad4708f41 (diff)
downloadrails-1a959ad72fc92a82e05e8c271858a64ed14b926e.tar.gz
rails-1a959ad72fc92a82e05e8c271858a64ed14b926e.tar.bz2
rails-1a959ad72fc92a82e05e8c271858a64ed14b926e.zip
Merge pull request #1182 from prakashmurthy/patch-1
Enhanced test for duplicable in active_support/core_ext/object/duplicable.rb
Diffstat (limited to 'activesupport/test/core_ext/duplicable_test.rb')
-rw-r--r--activesupport/test/core_ext/duplicable_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/duplicable_test.rb b/activesupport/test/core_ext/duplicable_test.rb
index 6e1f876959..77d0e86b78 100644
--- a/activesupport/test/core_ext/duplicable_test.rb
+++ b/activesupport/test/core_ext/duplicable_test.rb
@@ -3,7 +3,7 @@ require 'bigdecimal'
require 'active_support/core_ext/object/duplicable'
class DuplicableTest < Test::Unit::TestCase
- NO = [nil, false, true, :symbol, 1, 2.3, BigDecimal.new('4.56'), Class.new]
+ NO = [nil, false, true, :symbol, 1, 2.3, BigDecimal.new('4.56'), Class.new, Module.new]
YES = ['1', Object.new, /foo/, [], {}, Time.now]
def test_duplicable