Sha256: 572da0d1be2627bebbd35adafc8f5fd572246902a26d51cfe27d968744c0c82f
Contents?: true
Size: 324 Bytes
Versions: 1
Compression:
Stored size: 324 Bytes
Contents
class Baza::InfoPg attr_reader :db def initialize(args = {}) @db = Baza::Db.new({ type: :pg, host: "postgres", user: "build", pass: "password", db: "baza", debug: false }.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_pg_peak_flow.rb |