Permalink
Browse files

updated test_should_record_timestamp_for_join_table for Oracle

  • Loading branch information...
1 parent 04ee54f commit f82b1e756a736e4a7f3903deede8b83682158518 @rsim rsim committed with tenderlove Aug 22, 2010
@@ -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)
else

0 comments on commit f82b1e7

Please sign in to comment.