Sha256: aa7db26bd4996822e59bc637579e5282ead9ae6de163c8b79b561562f0fd0b03
Contents?: true
Size: 465 Bytes
Versions: 23
Compression:
Stored size: 465 Bytes
Contents
require 'spec_helper' describe "Masonry view", :type => :feature 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[data-behavior='masonry-gallery']") expect(page).to have_selector(".masonry.document .thumbnail") expect(page).to have_selector('.masonry.document .caption', text: "Strong Medicine speaks", visible: false) end end
Version data entries
23 entries across 23 versions & 1 rubygems