Sha256: 5e37fce9d2ab3eb3f946ddec88bf876a2ceb24dd840518c620070aac899ce40f
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
class Baza::InfoMysql attr_reader :db def initialize(args = {}) @db = Baza::Db.new({ type: :mysql, host: "mysql", user: "build", pass: "password", db: "baza" }.merge(args)) end def before @db.tables.list(&:drop) end def after @db.close end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
baza-0.0.38 | spec/info_mysql_peak_flow.rb |