Sha256: 0bbcaa141cd1968c2c030ee8cf5fb0ef8e160cd25af72c374125087066d5dc99

Contents?: true

Size: 589 Bytes

Versions: 4

Compression:

Stored size: 589 Bytes

Contents

require 'spec_helper'
require 'marc'

module BerkeleyLibrary
  module TIND
    module Mapping
      describe TindFieldFromLeader do

        let(:qualified_alma_obj) { Alma.new('spec/data/mapping/record.xml') }
        let(:qualified_alm_record) { qualified_alma_obj.record }
        let(:datafields_catalog) { DataFieldsCatalog.new(qualified_alm_record) }
        let(:tindfield_from_leader) { TindFieldFromLeader.new(qualified_alm_record) }

        it 'get_tindfields' do
          expect(tindfield_from_leader.to_datafields[0].tag).to eq '903'
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
berkeley_library-tind-0.7.2 spec/berkeley_library/tind/mapping/tind_field_from_leader_spec.rb
berkeley_library-tind-0.7.1 spec/berkeley_library/tind/mapping/tind_field_from_leader_spec.rb
berkeley_library-tind-0.7.0 spec/berkeley_library/tind/mapping/tind_field_from_leader_spec.rb
berkeley_library-tind-0.6.0 spec/berkeley_library/tind/mapping/tind_field_from_leader_spec.rb