Sha256: 534cc1c1ed0cc5ead009f03c9989dcc7affebe2c5c1035fc641cf5491809b185

Contents?: true

Size: 913 Bytes

Versions: 3

Compression:

Stored size: 913 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    module Table
      module Reader
        module Row
          describe ItemDisplayMasks do
            let(:data) { ['Lost/Claimed                                                                     ', 'Request ILL'] }
            subject(:item_display_masks) { ItemDisplayMasks.new(data) }
            it { should be_a Base }
            it { should be_a ItemDisplayMasks }
            describe '#data' do
              subject { item_display_masks.data }
              it { should eq data }
            end
            describe '#display' do
              subject { item_display_masks.display }
              it { should eq 'Lost/Claimed' }
            end
            describe '#mask' do
              subject { item_display_masks.mask }
              it { should eq 'Request ILL' }
            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/row/item_display_masks_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/table/reader/row/item_display_masks_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/table/reader/row/item_display_masks_spec.rb