Sha256: 4adeeec5097a172722025327b293c95b67574aaf94fa079126b8af4250719c32
Contents?: true
Size: 473 Bytes
Versions: 31
Compression:
Stored size: 473 Bytes
Contents
require 'spec_helper' y describe Krikri::XmlParser do subject { Krikri::XmlParser.new(record) } let(:record) { build(:oai_dc_record) } it_behaves_like 'a parser' context 'with a root path' do subject { Krikri::XmlParser.new(record, '//oai_dc:dc') } it_behaves_like 'a parser' end end describe Krikri::XmlParser::Value do subject { Krikri::XmlParser.new(record).root } let(:record) { build(:oai_dc_record) } it_behaves_like 'a parser value' end
Version data entries
31 entries across 31 versions & 1 rubygems