aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/cases/test_case.rb
blob: 94a13d386ceba495b0dcd47938ba9125f17906de (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                     
 


                                                              

     
require 'active_support/deprecation'
ActiveSupport::Deprecation.silence do
  require 'active_record/test_case'
end

ActiveRecord::TestCase.class_eval do
  def sqlite3? connection
    connection.class.name.split('::').last == "SQLite3Adapter"
  end
end