diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2011-09-30 12:05:53 -0400 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2011-09-30 12:05:53 -0400 |
commit | 44791a2bc6611b755b418f1db3ca93f9edec0908 (patch) | |
tree | 993b124b9909dc229a8f1b7de45f088e9c604450 /railties | |
parent | d2888de5985c7018a5be23d44143ec3c6cef9032 (diff) | |
download | rails-44791a2bc6611b755b418f1db3ca93f9edec0908.tar.gz rails-44791a2bc6611b755b418f1db3ca93f9edec0908.tar.bz2 rails-44791a2bc6611b755b418f1db3ca93f9edec0908.zip |
Modified how to handle if ActiveRecord is defined.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/test_help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index 68f566274d..8d0d8cacac 100644 --- a/railties/lib/rails/test_help.rb +++ b/railties/lib/rails/test_help.rb @@ -24,7 +24,7 @@ if defined?(MiniTest) end end -if defined?(ActiveRecord) +if defined?(ActiveRecord::Base) require 'active_record/test_case' class ActiveSupport::TestCase |