diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 11:10:52 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 11:10:52 -0800 |
commit | d2a69080f99f84787c70366d35fa7e562a87457c (patch) | |
tree | b9a644adae53650aef10453d76325b60683c02c9 | |
parent | f63fff6a8492b32c5e44202b938ce5d9600faa2a (diff) | |
download | rails-d2a69080f99f84787c70366d35fa7e562a87457c.tar.gz rails-d2a69080f99f84787c70366d35fa7e562a87457c.tar.bz2 rails-d2a69080f99f84787c70366d35fa7e562a87457c.zip |
do not require a file that is not used
-rw-r--r-- | activerecord/test/cases/helper.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/test_help.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index 859c3d1947..c05d588a54 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -7,6 +7,7 @@ require 'stringio' require 'mocha' require 'active_record' +require 'active_record/test_case' require 'active_support/dependencies' require 'active_support/logger' diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index 8d0d8cacac..1b5ab549be 100644 --- a/railties/lib/rails/test_help.rb +++ b/railties/lib/rails/test_help.rb @@ -25,8 +25,6 @@ if defined?(MiniTest) end if defined?(ActiveRecord::Base) - require 'active_record/test_case' - class ActiveSupport::TestCase include ActiveRecord::TestFixtures self.fixture_path = "#{Rails.root}/test/fixtures/" |