Sha256: 28d07be3938dc71ae96d25fce2a9f9fbf4a10ae3230ee153adfbb65840e4bcf8

Contents?: true

Size: 280 Bytes

Versions: 36

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

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

36 entries across 36 versions & 1 rubygems

Version Path
blacklight-6.25.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.24.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.23.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.22.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.21.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.20.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.19.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.19.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.19.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.18.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.17.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.16.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.15.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.14.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.14.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.13.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.12.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.11.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.11.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.11.0 spec/views/catalog/opensearch.xml.builder_spec.rb