Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified how to handle if ActiveRecord is defined.

  • Loading branch information...
commit 44791a2bc6611b755b418f1db3ca93f9edec0908 1 parent d2888de
@yahonda yahonda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/test_help.rb
View
2  railties/lib/rails/test_help.rb
@@ -24,7 +24,7 @@
end
end
-if defined?(ActiveRecord)
+if defined?(ActiveRecord::Base)
require 'active_record/test_case'
class ActiveSupport::TestCase
Please sign in to comment.
Something went wrong with that request. Please try again.