Sha256: bf05138dd4cfd483edbae939c7aaaa12cbb7ae3c03ac401c36bc8c48a4c2fe21

Contents?: true

Size: 836 Bytes

Versions: 3

Compression:

Stored size: 836 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    module Table
      module Reader
        describe ItemDisplayMasks do
          let(:admin_library) { AdminLibrary.new('NYU50') }
          subject(:item_display_masks) { ItemDisplayMasks.new(admin_library) }
          describe '#filename' do
            subject { item_display_masks.filename }
            it { should eq 'tab_www_item_desc.eng' }
          end
          describe '#all' do
            subject { item_display_masks.all }
            it { should be_an Array }
            it { should_not be_empty }
            it 'should contain ItemDisplayMask' do
              subject.each do |item_display_mask|
                expect(item_display_mask).to be_a Aleph::Item::DisplayMask
              end
            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/item_display_masks_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/table/reader/item_display_masks_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/table/reader/item_display_masks_spec.rb