mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
10 lines
252 B
Ruby
10 lines
252 B
Ruby
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
|