Sha256: ea00e6137e34d5f73cc542ab3b12ec3ce7ea8df118848e058f6966246f718e06

Contents?: true

Size: 708 Bytes

Versions: 14

Compression:

Stored size: 708 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"
  it_should_behave_like "a baza importer driver"
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
baza-0.0.38 spec/drivers/mysql2_spec.rb
baza-0.0.37 spec/drivers/mysql2_spec.rb
baza-0.0.36 spec/drivers/mysql2_spec.rb
baza-0.0.35 spec/drivers/mysql2_spec.rb
baza-0.0.34 spec/drivers/mysql2_spec.rb
baza-0.0.33 spec/drivers/mysql2_spec.rb
baza-0.0.32 spec/drivers/mysql2_spec.rb
baza-0.0.31 spec/drivers/mysql2_spec.rb
baza-0.0.30 spec/drivers/mysql2_spec.rb
baza-0.0.29 spec/drivers/mysql2_spec.rb
baza-0.0.28 spec/drivers/mysql2_spec.rb
baza-0.0.27 spec/drivers/mysql2_spec.rb
baza-0.0.26 spec/drivers/mysql2_spec.rb
baza-0.0.25 spec/drivers/mysql2_spec.rb