Sha256: 9a3b68df16686045c144a491ebd0b9015bb1dae2ed0adcc947f9c87c591eb5d9

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

RSpec.describe "Gallery view" do
  before { visit search_catalog_path :q => 'medicine', :view => 'gallery' }

  it "displays results in a galley view" do
    expect(page).to have_selector("#documents.documents-gallery")
    expect(page).to have_selector(".caption", text: "Strong Medicine speaks")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-gallery-4.8.3 spec/features/gallery_spec.rb
blacklight-gallery-4.8.2 spec/features/gallery_spec.rb
blacklight-gallery-4.8.1 spec/features/gallery_spec.rb
blacklight-gallery-4.8.0 spec/features/gallery_spec.rb
blacklight-gallery-4.7.0 spec/features/gallery_spec.rb