Sha256: a664f5bf1eda11bccfd16fc4d815de1f44dc631c6694dc8934893038f879894d

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

require 'spec_helper'

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

  it "should display results in a galley view" do
    expect(page).to have_selector("#documents.documents-masonry")
    expect(page).to have_selector('.document .caption', text: "Strong Medicine speaks", visible: false)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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