diff options
author | Brian Lopez <seniorlopez@gmail.com> | 2010-08-02 01:37:57 -0700 |
---|---|---|
committer | Brian Lopez <seniorlopez@gmail.com> | 2010-08-02 01:37:57 -0700 |
commit | 21e81da33570ba9453831cfc59c4f42ff9cdc1b2 (patch) | |
tree | 80146b258842d120e3362119971971911ca6a0ef /activerecord/test/cases/defaults_test.rb | |
parent | fb0bd8c1092db51888ec4bb72af6c595e13c31fa (diff) | |
download | rails-21e81da33570ba9453831cfc59c4f42ff9cdc1b2.tar.gz rails-21e81da33570ba9453831cfc59c4f42ff9cdc1b2.tar.bz2 rails-21e81da33570ba9453831cfc59c4f42ff9cdc1b2.zip |
update tests for mysql2 support
Diffstat (limited to 'activerecord/test/cases/defaults_test.rb')
-rw-r--r-- | activerecord/test/cases/defaults_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/defaults_test.rb b/activerecord/test/cases/defaults_test.rb index ef29422824..0e90128907 100644 --- a/activerecord/test/cases/defaults_test.rb +++ b/activerecord/test/cases/defaults_test.rb @@ -39,7 +39,7 @@ class DefaultTest < ActiveRecord::TestCase end end -if current_adapter?(:MysqlAdapter) +if current_adapter?(:MysqlAdapter) or current_adapter?(:Mysql2Adapter) class DefaultsTestWithoutTransactionalFixtures < ActiveRecord::TestCase # ActiveRecord::Base#create! (and #save and other related methods) will # open a new transaction. When in transactional fixtures mode, this will |