Sha256: 261bb71da118b184d7762e27169d98e5d2b824c30cc690d4a4fe487bf47aa006

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

class Baza::InfoMysql
  attr_reader :db

  def initialize
    @db = Baza::Db.new(
      type: :mysql,
      subtype: :mysql2,
      host: "localhost",
      user: "shippa",
      db: "baza"
    )
  end

  def before
    @db.tables.list.each do |name, table|
      table.drop
    end
  end

  def after
    @db.close
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
baza-0.0.15 spec/info_mysql_shippable.rb
baza-0.0.14 spec/info_mysql_shippable.rb