Sha256: 0561a948ffa77b58c948a0c79a1538a6b6b0088d69d33070e9ad6de84509bf45

Contents?: true

Size: 659 Bytes

Versions: 3

Compression:

Stored size: 659 Bytes

Contents

require "spec_helper"

describe Baza::Driver::Mysql2 do
  let(:constant) do
    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 databases driver"
  it_should_behave_like "a baza tables driver"
  it_should_behave_like "a baza columns driver"
  it_should_behave_like "a baza foreign keys driver"
  it_should_behave_like "a baza indexes driver"
  it_should_behave_like "a baza users driver"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
baza-0.0.24 spec/drivers/mysql2_spec.rb
baza-0.0.23 spec/drivers/mysql2_spec.rb
baza-0.0.22 spec/drivers/mysql2_spec.rb