Sha256: af2b521ecb4de1e4517b8972cdef7f5d84ea7a5dc1b1a59766ebfbdb6015962a
Contents?: true
Size: 515 Bytes
Versions: 12
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe LB::Persistence, '#repository' do include_context 'settings' subject { object.repository(repository) } let(:object) { described_class.new(settings) } let(:repository) { class_double('repository', new: repository_instance) } let(:repository_instance) { double('repository instance') } it 'should return container' do expect(repository).to receive(:new).with(object.container) expect(subject).to be(repository_instance) end end
Version data entries
12 entries across 12 versions & 1 rubygems