Sha256: cbb8dbfcba5eb7df95b53cc7c14a4175e389edae9be38353f4de7c93af3513b9

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

require "spec_helper"

describe Baza::Cloner do
  it "can clone drivers" do
    require "info_active_record_pg"
    conn = Baza::InfoActiveRecordPg.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

3 entries across 3 versions & 1 rubygems

Version Path
baza-0.0.38 spec/baza/cloner_spec.rb
baza-0.0.37 spec/baza/cloner_spec.rb
baza-0.0.36 spec/baza/cloner_spec.rb