aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/abstract_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/abstract_unit.rb')
-rwxr-xr-xactiverecord/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/abstract_unit.rb b/activerecord/test/abstract_unit.rb
index 498f19b32f..1bd2f6baaf 100755
--- a/activerecord/test/abstract_unit.rb
+++ b/activerecord/test/abstract_unit.rb
@@ -23,7 +23,7 @@ class Test::Unit::TestCase #:nodoc:
# SQL Server doesn't have a separate column type just for dates,
# so the time is in the string and incorrectly formatted
- if current_adapter?(:SQLServerAdapter)
+ if current_adapter?(:SQLServerAdapter) || current_adapter?(:SybaseAdapter)
assert_equal expected.strftime("%Y/%m/%d 00:00:00"), actual.strftime("%Y/%m/%d 00:00:00")
else
assert_equal expected.to_s, actual.to_s, message