Sha256: 11fa00783fb4999d753048f8aad944844f11b8b901500b7aad634dd52d86d6e8
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
require 'spec_helper' describe "Gallery view" do before { visit catalog_index_path :q => 'medicine', :view => 'gallery' } it "should display results in a galley view" do expect(page).to have_selector("#documents.gallery") expect(page).to have_selector(".gallery .document .thumbnail .caption") expect(page).to have_content("Strong Medicine speaks") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blacklight-gallery-0.1.0 | spec/features/gallery_spec.rb |
blacklight-gallery-0.0.2 | spec/features/gallery_spec.rb |
blacklight-gallery-0.0.1 | spec/features/gallery_spec.rb |