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-8.6.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.40.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.6.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.5.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.5.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.39.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.4.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.38.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.3.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.2.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.2.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.2.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.37.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.36.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.36.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.36.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-7.35.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-8.1.0 spec/views/catalog/opensearch.xml.builder_spec.rb