Sha256: 5ce797c029195e2165fab6f4316bf80248681ce091cf8f5b67aa4279bb89f617
Contents?: true
Size: 908 Bytes
Versions: 3
Compression:
Stored size: 908 Bytes
Contents
require 'spec_helper' module Exlibris module Aleph module Table module Reader describe PatronCirculationPolicies do let(:admin_library) { AdminLibrary.new('NYU50') } subject(:patron_circulation_policies) { PatronCirculationPolicies.new(admin_library) } describe '#filename' do subject { patron_circulation_policies.filename } it { should eq 'tab31' } end describe '#all' do subject { patron_circulation_policies.all } it { should be_an Array } it { should_not be_empty } it 'should contain Patron::CirculationPolicy elements' do subject.each do |patron_circulation_policy| expect(patron_circulation_policy).to be_a Aleph::Patron::CirculationPolicy end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems