2015-02-08 21:38:55 +00:00
|
|
|
module Tests
|
|
|
|
module DatabaseAdapters
|
|
|
|
class SQLite3
|
|
|
|
def self.name
|
|
|
|
:sqlite3
|
|
|
|
end
|
|
|
|
|
2020-11-03 05:56:49 +00:00
|
|
|
def initialize(_database)
|
|
|
|
end
|
2015-02-08 21:38:55 +00:00
|
|
|
|
|
|
|
def adapter
|
|
|
|
self.class.name
|
|
|
|
end
|
|
|
|
|
|
|
|
def database
|
|
|
|
'db/db.sqlite3'
|
|
|
|
end
|
|
|
|
|
|
|
|
def require_dependencies
|
|
|
|
require 'sqlite3'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
DatabaseConfigurationRegistry.instance.register(SQLite3)
|
|
|
|
end
|
|
|
|
end
|