1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
This commit is contained in:
Akira Matsuda 2016-12-13 00:48:14 +09:00
parent bd9e134b01
commit 5d07e8a326

View file

@ -5,8 +5,7 @@ require "active_support/core_ext/numeric/time"
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" \