Sha256: 6dd8ca8b19495d89cb833eb858eca980a91cd1a0a2564e9d427c28aaee26c2a7

Contents?: true

Size: 782 Bytes

Versions: 3

Compression:

Stored size: 782 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    module Table
      module Reader
        describe Base do
          let(:admin_library) { AdminLibrary.new('ADM50') }
          let(:filename) { 'filename' }
          subject(:base) { Base.new(admin_library, filename) }
          describe '#admin_library' do
            subject { base.admin_library }
            it { should eq admin_library }
          end
          describe '#filename' do
            subject { base.filename }
            it { should eq filename }
          end
          describe '#all' do
            subject { base.all }
            it 'should raise a RuntimeError' do
              expect { subject }.to raise_error RuntimeError
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exlibris-aleph-2.0.4 spec/exlibris/aleph/table/reader/base_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/table/reader/base_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/table/reader/base_spec.rb