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.13.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.11.3 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.12.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.12.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.10.3 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.9.4 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.11.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.11.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.11.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.10.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.10.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.10.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.9.3 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.9.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.9.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.9.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.8.2 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.8.1 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.8.0 spec/views/catalog/opensearch.xml.builder_spec.rb
blacklight-5.7.2 spec/views/catalog/opensearch.xml.builder_spec.rb