Sha256: 58873a429149be16244cc019bdd7a693bb0136eb4337c2970e1f22bc54e6a778
Contents?: true
Size: 320 Bytes
Versions: 18
Compression:
Stored size: 320 Bytes
Contents
class Baza::InfoMysql attr_reader :db def initialize(args = {}) @db = Baza::Db.new({ type: :mysql, 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
18 entries across 18 versions & 1 rubygems