Skip to content

Commit

Permalink
Add a time to duplicable tests
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Oct 15, 2007
1 parent bb4ebaa commit fb0673f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/core_ext/duplicable_test.rb
Expand Up @@ -2,7 +2,7 @@

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|
Expand Down

0 comments on commit fb0673f

Please sign in to comment.