Sha256: 61baa1c640d08846a39fc8d98901be8d176fb12d9203014be4ce90681891cad2

Contents?: true

Size: 316 Bytes

Versions: 12

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe LB::Persistence, '#connect' do
  include_context 'settings'

  subject { object.connect(database_uri) }

  let(:object) { described_class.new(settings) }

  it 'should return container' do
    expect(subject).to be_a(Sequel::SQLite::Database)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lb-persistence-0.3.0 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.2.0 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.1.0 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.9 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.8 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.7 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.6 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.5 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.4 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.3 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.2 spec/unit/lb/persistence/connect_spec.rb
lb-persistence-0.0.1 spec/unit/lb/persistence/connect_spec.rb