Sha256: b9fcaba637bef7f5dd299eab2db07ce1215187f7a105ac8e64d85900b3a07b14

Contents?: true

Size: 702 Bytes

Versions: 3

Compression:

Stored size: 702 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    module Table
      module Item
        describe DisplayMasks do
          subject(:display_masks) { DisplayMasks.new }
          describe '#all' do
            subject { display_masks.all }
            it { should be_an Hash }
            it { should_not be_empty }
          end
          describe '#each' do
            subject { display_masks.each }
            it { should be_an Enumerable }
          end
          describe '#[]' do
            let(:admin_library) { AdminLibrary.new('NYU50') }
            subject { display_masks[admin_library] }
            it { should be_an Array }
          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/item/display_masks_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/table/item/display_masks_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/table/item/display_masks_spec.rb