diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-08-21 18:23:18 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-08-21 18:40:20 +0100 |
commit | 654c41255d22b2767b943dbe970d8b24f2a1387b (patch) | |
tree | 7e3eb141b80e8365eaaf8b3886c8f65397d2401d /activesupport/test/core_ext | |
parent | bbedb6a624a3d9eb02e0470f31cda8112df06d75 (diff) | |
download | rails-654c41255d22b2767b943dbe970d8b24f2a1387b.tar.gz rails-654c41255d22b2767b943dbe970d8b24f2a1387b.tar.bz2 rails-654c41255d22b2767b943dbe970d8b24f2a1387b.zip |
Mark Class as not being duplicable. [#829 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'activesupport/test/core_ext')
-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 3ccfedccd7..8b6127f31e 100644 --- a/activesupport/test/core_ext/duplicable_test.rb +++ b/activesupport/test/core_ext/duplicable_test.rb @@ -1,7 +1,7 @@ require 'abstract_unit' class DuplicableTest < Test::Unit::TestCase - NO = [nil, false, true, :symbol, 1, 2.3, BigDecimal.new('4.56')] + NO = [nil, false, true, :symbol, 1, 2.3, BigDecimal.new('4.56'), Class.new] YES = ['1', Object.new, /foo/, [], {}, Time.now] def test_duplicable |