Browse files

updated test_should_record_timestamp_for_join_table for Oracle

  • Loading branch information...
rsim authored and tenderlove committed Aug 22, 2010
1 parent 6edae45 commit bedf6a00617c89fcb00184a52966f9b70d740097
@@ -109,7 +109,7 @@ def test_should_record_timestamp_for_join_table
record = con.select_rows(sql).last
assert_not_nil record[2]
assert_not_nil record[3]
- if current_adapter?(:Mysql2Adapter)
+ if current_adapter?(:Mysql2Adapter, :OracleAdapter)
assert_match %r{\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}}, record[2].to_s(:db)
assert_match %r{\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}}, record[3].to_s(:db)

0 comments on commit bedf6a0

Please sign in to comment.