Sha256: 1e98115698fc41cb59661ea52451f432a26fb406eb51b3cf9a0724670abcc7ff

Contents?: true

Size: 676 Bytes

Versions: 3

Compression:

Stored size: 676 Bytes

Contents

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