mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Modified how to handle if ActiveRecord is defined.
This commit is contained in:
parent
d2888de598
commit
44791a2bc6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ if defined?(MiniTest)
|
|||
end
|
||||
end
|
||||
|
||||
if defined?(ActiveRecord)
|
||||
if defined?(ActiveRecord::Base)
|
||||
require 'active_record/test_case'
|
||||
|
||||
class ActiveSupport::TestCase
|
||||
|
|
Loading…
Reference in a new issue