require 'spec_helper' describe Krikri::JsonParser do subject { described_class.new(record) } let(:record) { build(:oai_parser) } it_behaves_like 'a parser' end describe Krikri::JsonParser::Value do subject { Krikri::JsonParser.new(record).root } let(:record) { build(:oai_parser) } it_behaves_like 'a parser value' end