Sha256: f5ef927cfd8dc84da1728e98e7be17d1e671b7e7ea26850dcc869504b7e1768c

Contents?: true

Size: 322 Bytes

Versions: 30

Compression:

Stored size: 322 Bytes

Contents

shared_examples 'a parser with oai headers' do
  describe '#header' do
    it 'has a header' do
      expect(subject.header).to be_a Krikri::Parser::Value
    end

    it 'has children' do
      expect(subject.header.children)
        .to include ["xmlns:identifier", "xmlns:datestamp", "xmlns:setSpec"]
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
krikri-0.13.2 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.13.1 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.13.0 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.12.4 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.11.2 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.11.1 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.11.0 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.10.1 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.9 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.8 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.7 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.6 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.5 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.4 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.2 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.8.0 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.7.3 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.7.2 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.7.1 spec/support/shared_examples/oai_parser_headers.rb~
krikri-0.6.0 spec/support/shared_examples/oai_parser_headers.rb~