提交 17f05393 编写于 作者: J Joshua Peek

use_instantiated_fixtures and use_transactional_fixtures defaults are set in active_record/fixtures

上级 947bbc17
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
class ActiveSupport::TestCase class ActiveSupport::TestCase
include ActiveRecord::TestFixtures include ActiveRecord::TestFixtures
self.fixture_path = "#{Rails.root}/test/fixtures/" self.fixture_path = "#{Rails.root}/test/fixtures/"
self.use_instantiated_fixtures = false
self.use_transactional_fixtures = true
end end
ActionController::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path ActionController::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册