Sha256: 60838b4e89509c9a6051d19af1756b9c83e96dcadd2b8322a898c12305c4550a
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
class Baza::InfoMysql2 attr_reader :db def initialize(args = {}) @db = Baza::Db.new({ type: :mysql2, 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_mysql2_peak_flow.rb |