Sha256: c196f92b679227a5dded957e7acfd03568ecf52016a54bfee118ce7a382cd4c5

Contents?: true

Size: 286 Bytes

Versions: 96

Compression:

Stored size: 286 Bytes

Contents

# frozen_string_literal: true

RSpec.describe 'catalog/opensearch.xml.builder' do
  it "renders an OpenSearch description document" do
    render
    doc = Nokogiri::XML.parse(rendered)
    doc.remove_namespaces!
    expect(doc.xpath('/OpenSearchDescription').length).to eq 1
  end
end

Version data entries

96 entries across 95 versions & 2 rubygems

Version Path
blacklight-7.34.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta8 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta7 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta6 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta5 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.33.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta4 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta3 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.0.0.beta1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.33.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.32.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.31.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.30.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.29.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.28.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.27.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.27.0 spec/views/catalog/opensearch.xml.builder_spec.rb