Sha256: 5379b756c13017fd36f93ef564d117582f2641347df18d615954df1b5f1b4f04
Contents?: true
Size: 831 Bytes
Versions: 1
Compression:
Stored size: 831 Bytes
Contents
require 'spec_helper' require 'marc' module BerkeleyLibrary module TIND module Mapping describe MatchTindField do let(:qualified_alma_obj) { Alma.new('spec/data/mapping/record.xml') } let(:qualified_alm_record) { qualified_alma_obj.record } let(:tind_marc) { TindMarc.new(qualified_alm_record) } let(:data_fields) { tind_marc.field_catalog.data_fields_880_group[:normal].concat tind_marc.field_catalog.data_fields_group[:normal] } let(:no_880_matching_count) { 4 } it 'get 880 un-matched fields' do # puts tind_marc.send(:un_matched_fields_880, data_fields, '991032577079706532').inspect expect(tind_marc.send(:un_matched_fields_880, data_fields, '991032577079706532').length).to eq no_880_matching_count end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
berkeley_library-tind-0.6.0 | spec/berkeley_library/tind/mapping/match_tind_field_spec.rb |