Add a time to duplicable tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
bb4ebaa858
commit
fb0673f5ad
|
@ -2,7 +2,7 @@ require File.dirname(__FILE__) + '/../abstract_unit'
|
|||
|
||||
class DuplicableTest < Test::Unit::TestCase
|
||||
NO = [nil, false, true, :symbol, 1, 2.3, BigDecimal.new('4.56')]
|
||||
YES = ['1', Object.new, /foo/, [], {}]
|
||||
YES = ['1', Object.new, /foo/, [], {}, Time.now]
|
||||
|
||||
def test_duplicable
|
||||
NO.each do |v|
|
||||
|
|
Loading…
Reference in New Issue