diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-21 04:57:36 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-21 04:57:36 -0700 |
commit | 1a959ad72fc92a82e05e8c271858a64ed14b926e (patch) | |
tree | 1f9b208a74d09f0811a6ccee60e73511bd89a6f5 /activesupport | |
parent | 26703f49055505e5edccf6c955abbde72bdff0c2 (diff) | |
parent | 6b0dc80adc18e999302a30cd89dd001ad4708f41 (diff) | |
download | rails-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')
-rw-r--r-- | activesupport/test/core_ext/duplicable_test.rb | 2 |
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 |