aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/test_case.rb
blob: f3f7054794429cbac834efad992e1cdf3a88fa8d (plain) (blame)
1
2
3
4
5
6
7
8
9
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