Sha256: 65cdbf44533caa08baae374a6d1524c20755c15152ccb1249889666e6dab9b50
Contents?: true
Size: 336 Bytes
Versions: 4
Compression:
Stored size: 336 Bytes
Contents
require 'spec_helper' describe MARC::DataField do let(:marc_record) { MARC::XMLReader.read('spec/data/record-187888.xml').first } describe :subfield_codes do it 'returns the subfield codes in order' do expected_codes = %w[y 9 s u] expect(marc_record['856'].subfield_codes).to eq(expected_codes) end end end
Version data entries
4 entries across 4 versions & 1 rubygems