aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_with_zone_test.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-05-24 20:34:25 -0300
committerJeremy Kemper <jeremy@bitsweat.net>2010-05-24 20:59:53 -0700
commit78fffac66895b0239b83138d19ae09b32718cb5b (patch)
treecbba890f894aaa692af4e9a8dd3869b87f0aec60 /activesupport/test/core_ext/time_with_zone_test.rb
parent47d568ed3fc701934ebe80b276f3d8bf6951c93f (diff)
downloadrails-78fffac66895b0239b83138d19ae09b32718cb5b.tar.gz
rails-78fffac66895b0239b83138d19ae09b32718cb5b.tar.bz2
rails-78fffac66895b0239b83138d19ae09b32718cb5b.zip
Fix test incorrectly using a bare assert to use assert_kind_of
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport/test/core_ext/time_with_zone_test.rb')
-rw-r--r--activesupport/test/core_ext/time_with_zone_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/time_with_zone_test.rb b/activesupport/test/core_ext/time_with_zone_test.rb
index 77b1893f77..2cf5bd6ea9 100644
--- a/activesupport/test/core_ext/time_with_zone_test.rb
+++ b/activesupport/test/core_ext/time_with_zone_test.rb
@@ -326,7 +326,7 @@ class TimeWithZoneTest < Test::Unit::TestCase
def test_is_a
assert_kind_of Time, @twz
assert_kind_of Time, @twz
- assert ActiveSupport::TimeWithZone, @twz
+ assert_kind_of ActiveSupport::TimeWithZone, @twz
end
def test_class_name