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:
Jeremy Kemper 2007-10-15 07:12:40 +00:00
parent bb4ebaa858
commit fb0673f5ad
1 changed files with 1 additions and 1 deletions

View File

@ -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|