Permalink
Browse files

Check for Module.new.dup as well in https://github.com/rails/rails/bl…

  • Loading branch information...
1 parent d62a39a commit 6b0dc80adc18e999302a30cd89dd001ad4708f41 @prakashmurthy prakashmurthy committed May 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/core_ext/duplicable_test.rb
@@ -3,7 +3,7 @@
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

0 comments on commit 6b0dc80

Please sign in to comment.