1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/test_case.rb

9 lines
215 B
Ruby

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