mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
💅
This commit is contained in:
parent
bd9e134b01
commit
5d07e8a326
1 changed files with 1 additions and 2 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue