Sha256: ec4e885840bd45ee99f1e7246b2d918e2ca4192365ecc8e35acd3f94471a728a

Contents?: true

Size: 269 Bytes

Versions: 12

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe LB::Persistence, '.new' do
  include_context 'settings'

  subject { object.new(settings) }

  let(:object) { described_class }

  it 'should return config' do
    expect(subject).to be_a(object)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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