Sha256: 41c46dc36ff161289200ac0df0ce1311df5cf3f57a265c1e8aeab4633fa3da29
Contents?: true
Size: 322 Bytes
Versions: 6
Compression:
Stored size: 322 Bytes
Contents
class Baza::InfoMysql2 attr_reader :db def initialize(args = {}) @db = Baza::Db.new({ type: :mysql2, host: "localhost", user: "baza-test", pass: "password", db: "baza-test" }.merge(args)) end def before @db.tables.list(&:drop) end def after @db.close end end
Version data entries
6 entries across 6 versions & 1 rubygems