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