diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-12-04 05:40:50 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-12-04 05:40:50 +0000 |
commit | 1dfa0bd3728a6c3b8fc037dd6b524044513f5a1d (patch) | |
tree | 430b7fb801deb9b2104aff2658cf9e7b57b97b1f /activerecord/test | |
parent | 6c9cfd64ca5e35445e4fdcc822dbdcd5b2339d87 (diff) | |
download | rails-1dfa0bd3728a6c3b8fc037dd6b524044513f5a1d.tar.gz rails-1dfa0bd3728a6c3b8fc037dd6b524044513f5a1d.tar.bz2 rails-1dfa0bd3728a6c3b8fc037dd6b524044513f5a1d.zip |
Don't use transactional fixtures for when DDL changes are involved.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/aaa_create_tables_test.rb | 2 | ||||
-rw-r--r-- | activerecord/test/associations_join_model_test.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/aaa_create_tables_test.rb b/activerecord/test/aaa_create_tables_test.rb index eb40913930..10ac9c525d 100644 --- a/activerecord/test/aaa_create_tables_test.rb +++ b/activerecord/test/aaa_create_tables_test.rb @@ -2,6 +2,8 @@ require 'abstract_unit' class CreateTablesTest < Test::Unit::TestCase + self.use_transactional_fixtures = false + def setup @base_path = "#{File.dirname(__FILE__)}/fixtures/db_definitions" end diff --git a/activerecord/test/associations_join_model_test.rb b/activerecord/test/associations_join_model_test.rb index 303c33679f..07e9288f08 100644 --- a/activerecord/test/associations_join_model_test.rb +++ b/activerecord/test/associations_join_model_test.rb @@ -5,6 +5,7 @@ require 'fixtures/post' require 'fixtures/comment' class AssociationsJoinModelTest < Test::Unit::TestCase + self.use_transactional_fixtures = false fixtures :posts, :comments, :tags, :taggings def test_polymorphic_has_many |