aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-15 07:12:40 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-15 07:12:40 +0000
commitfb0673f5ad7cf3fc54f922f3215be0b0107de29b (patch)
tree95fb76307ef7dbd2943a9caf327a4c935f82b6bf /activesupport
parentbb4ebaa858c3c73888ffb4639f6854b78955f9ed (diff)
downloadrails-fb0673f5ad7cf3fc54f922f3215be0b0107de29b.tar.gz
rails-fb0673f5ad7cf3fc54f922f3215be0b0107de29b.tar.bz2
rails-fb0673f5ad7cf3fc54f922f3215be0b0107de29b.zip
Add a time to duplicable tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/duplicable_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/duplicable_test.rb b/activesupport/test/core_ext/duplicable_test.rb
index 7f8c0f7d3b..5e34184a46 100644
--- a/activesupport/test/core_ext/duplicable_test.rb
+++ b/activesupport/test/core_ext/duplicable_test.rb
@@ -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|