This commit is contained in:
Akira Matsuda 2016-12-13 00:48:14 +09:00
parent bd9e134b01
commit 5d07e8a326

@ -5,8 +5,7 @@
class DuplicableTest < ActiveSupport::TestCase
RAISE_DUP = [method(:puts)]
ALLOW_DUP = ["1", Object.new, /foo/, [], {}, Time.now, Class.new, Module.new]
ALLOW_DUP << BigDecimal.new("4.56")
ALLOW_DUP = ["1", Object.new, /foo/, [], {}, Time.now, Class.new, Module.new, BigDecimal.new("4.56")]
def test_duplicable
rubinius_skip "* Method#dup is allowed at the moment on Rubinius\n" \