Sha256: cbc69d6655b781a5595716790102603532a1033a473f40500f421359732ce595

Contents?: true

Size: 278 Bytes

Versions: 54

Compression:

Stored size: 278 Bytes

Contents

require 'spec_helper'

describe 'catalog/opensearch.xml.builder' do
  it "should render 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

54 entries across 54 versions & 1 rubygems

Version Path
blacklight-5.19.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.19.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.19.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.18.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.17.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.0.0.pre5 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.17.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.17.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.0.0.pre4 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.16.4 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.0.0.pre3 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.16.3 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.16.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.16.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.0.0.pre2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-6.0.0.pre1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.16.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.15.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.14.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.13.1 spec/views/catalog/opensearch.xml.builder_spec.rb