Sha256: 3d2a9bfe253b8f009d724d9c835aad25a3d572ed44615aaf65013a4e4a62284e

Contents?: true

Size: 319 Bytes

Versions: 12

Compression:

Stored size: 319 Bytes

Contents

require "spec_helper"

describe Baza::Cloner do
  it "can clone drivers" do
    require "info_active_record_mysql"
    conn = Baza::InfoActiveRecordMysql.connection
    baza_db = Baza::Cloner.from_active_record_connection(conn[:conn])
    expect(baza_db.query("SELECT 1 AS test").fetch[:test].to_s).to eq "1"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
baza-0.0.31 spec/baza/cloner_spec.rb
baza-0.0.30 spec/baza/cloner_spec.rb
baza-0.0.29 spec/baza/cloner_spec.rb
baza-0.0.28 spec/baza/cloner_spec.rb
baza-0.0.27 spec/baza/cloner_spec.rb
baza-0.0.26 spec/baza/cloner_spec.rb
baza-0.0.25 spec/baza/cloner_spec.rb
baza-0.0.24 spec/baza/cloner_spec.rb
baza-0.0.23 spec/baza/cloner_spec.rb
baza-0.0.22 spec/baza/cloner_spec.rb
baza-0.0.21 spec/baza/cloner_spec.rb
baza-0.0.20 spec/cloner_spec.rb