Sha256: 55b6091bc2f0f5bdc41620806f0d4b14a3a81b349688c18cb2382ce2345a20e9

Contents?: true

Size: 502 Bytes

Versions: 3

Compression:

Stored size: 502 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    class Item
      describe OpacNote do
        let(:value) { "Library's copy is predominantly out of order Advertising and Covers from 1936." }
        subject(:opac_note) { OpacNote.new(value) }
        describe '#value' do
          subject { opac_note.value }
          it { should eq value }
        end
        describe '#to_s' do
          subject { opac_note.to_s }
          it { should eq value }
        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/opac_note_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/item/opac_note_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/item/opac_note_spec.rb