Sha256: 1980990f9bcbc201b751955a13d2fba41913be2dd53afaa32f63c2bd951105c0

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

require "test_helper"

describe "when connecting via DATABASE_URL" do

  it "connects to the test database using the pg driver directly" do
    connection = Elefant::ConnectionAdapter.new

    assert connection.alive?, "Connection must be alive"
    refute connection.active_record?, "Connection must not be active record"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elefant-0.0.1 test/pg_connection_test.rb