diff options
Diffstat (limited to 'railties/helpers')
-rw-r--r-- | railties/helpers/test_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/helpers/test_helper.rb b/railties/helpers/test_helper.rb index f91c6a16b2..9f1926950f 100644 --- a/railties/helpers/test_helper.rb +++ b/railties/helpers/test_helper.rb @@ -15,6 +15,10 @@ class Test::Unit::TestCase # in MySQL. Turn off transactional fixtures in this case; however, if you # don't care one way or the other, switching from MyISAM to InnoDB tables # is recommended. + # + # The only drawback to using transactional fixtures is when you actually + # need to test transactions. Since your test is bracketed by a transaction, + # any transactions started in your code will be automatically rolled back. self.use_transactional_fixtures = true # Instantiated fixtures are slow, but give you @david where otherwise you |