Sha256: a3e40b1af7c8566e0d3125523f0534ada018ebddf697d3665303a98e32c1755a
Contents?: true
Size: 527 Bytes
Versions: 18
Compression:
Stored size: 527 Bytes
Contents
require 'spec_helper' 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' it_behaves_like 'a parser value that has attributes' end
Version data entries
18 entries across 18 versions & 1 rubygems