Sha256: f3e5e75ebab692148a1f95eb6c3921a01b3f122f71bceeb4acbacd6e51f9cfa5

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 Bytes

Contents

require "spec_helper"

describe Baza::Driver::Mysql2 do
  let(:constant) do
    name = described_class.name.split("::").last
    const_name = "InfoMysql2"
    require "#{File.dirname(__FILE__)}/../#{StringCases.camel_to_snake(const_name)}"
    raise "Constant was not defined: '#{const_name}'." unless Baza.const_defined?(const_name)
    Baza.const_get(const_name)
  end

  it_should_behave_like "a baza driver"
  it_should_behave_like "a baza tables driver"
  it_should_behave_like "a baza columns driver"
  it_should_behave_like "a baza indexes driver"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
baza-0.0.19 spec/drivers/mysql2_spec.rb
baza-0.0.18 spec/drivers/mysql2_spec.rb