Sha256: d9181427f86e3fe8b46a3f9af39699fd9f08ba3822e8348d3641b05ce71aa8b5

Contents?: true

Size: 437 Bytes

Versions: 97

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

RSpec.describe "Search Formats" do
  it "has an RSS XML response" do
    visit "/catalog.rss?q="
    expect(page).to have_content "Blacklight Search Results"
    expect(page).to have_xpath('//item', count: 10)
  end

  it "has an ATOM XML response" do
    visit "/catalog.atom?q="
    expect(page).to have_content "Blacklight Search Results"

    expect(page).to have_xpath('//entry', count: 10)
  end
end

Version data entries

97 entries across 96 versions & 2 rubygems

Version Path
blacklight-8.8.2 spec/features/search_formats_spec.rb
blacklight-9.0.0.beta1 spec/features/search_formats_spec.rb
blacklight-8.8.1 spec/features/search_formats_spec.rb
blacklight-8.8.0 spec/features/search_formats_spec.rb
blacklight-8.7.0 spec/features/search_formats_spec.rb
blacklight-8.6.1 spec/features/search_formats_spec.rb
blacklight-7.40.0 spec/features/search_formats_spec.rb
blacklight-8.6.0 spec/features/search_formats_spec.rb
blacklight-8.5.1 spec/features/search_formats_spec.rb
blacklight-8.5.0 spec/features/search_formats_spec.rb
blacklight-7.39.0 spec/features/search_formats_spec.rb
blacklight-8.4.0 spec/features/search_formats_spec.rb
blacklight-7.38.0 spec/features/search_formats_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/spec/features/search_formats_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/spec/features/search_formats_spec.rb
blacklight-8.3.0 spec/features/search_formats_spec.rb
blacklight-8.2.2 spec/features/search_formats_spec.rb
blacklight-8.2.1 spec/features/search_formats_spec.rb
blacklight-8.2.0 spec/features/search_formats_spec.rb
blacklight-7.37.0 spec/features/search_formats_spec.rb