Sha256: 170a2965c7ab181a73cede77e999eba455663beeec2cff96d32b05d7c08f67f4

Contents?: true

Size: 819 Bytes

Versions: 3

Compression:

Stored size: 819 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    module Table
      module Reader
        describe PatronStatuses do
          let(:admin_library) { AdminLibrary.new('NYU50') }
          subject(:patron_statuses) { PatronStatuses.new(admin_library) }
          describe '#filename' do
            subject { patron_statuses.filename }
            it { should eq 'pc_tab_exp_field_extended.eng' }
          end
          describe '#all' do
            subject { patron_statuses.all }
            it { should be_an Array }
            it { should_not be_empty }
            it 'should contain Patron::Status' do
              subject.each do |patron_status|
                expect(patron_status).to be_a Aleph::Patron::Status
              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/patron_statuses_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/table/reader/patron_statuses_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/table/reader/patron_statuses_spec.rb