Skip to content
Browse files

updated test_should_record_timestamp_for_join_table for Oracle

  • Loading branch information...
1 parent 6edae45 commit bedf6a00617c89fcb00184a52966f9b70d740097 @rsim rsim committed with tenderlove
View
2 activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
@@ -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 bedf6a0

Please sign in to comment.
Something went wrong with that request. Please try again.