Sha256: d531cedc2413aad4806112ff84b2787d1f445446aa40437dfbdb24019db61236

Contents?: true

Size: 539 Bytes

Versions: 3

Compression:

Stored size: 539 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    class Item
      describe CallNumber do
        let(:classification) { }
        let(:description) { }
        subject(:call_number) { CallNumber.new(classification, description) }
        describe '#classification' do
          subject { call_number.classification }
          it { should eq classification }
        end
        describe '#description' do
          subject { call_number.description }
          it { should eq description }
        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/item/call_number_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/item/call_number_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/item/call_number_spec.rb