Sha256: 561a7579e702d4160ad1c415b2323cf4d8d97bba9d41eb23fb004b2a18f9a827

Contents?: true

Size: 319 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
baza-0.0.19 spec/cloner_spec.rb
baza-0.0.18 spec/cloner_spec.rb