Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1182 from prakashmurthy/patch-1

Enhanced test for duplicable in  active_support/core_ext/object/duplicable.rb
  • Loading branch information...
commit 1a959ad72fc92a82e05e8c271858a64ed14b926e 2 parents 26703f4 + 6b0dc80
@josevalim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/test/core_ext/duplicable_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.