Sha256: 1487893ac5535b7f4750efd1ce5ef61c2402a4e0aa600e704cda172076a04f8a
Contents?: true
Size: 680 Bytes
Versions: 21
Compression:
Stored size: 680 Bytes
Contents
require 'spec_helper' describe 'Slideshow', type: :feature, js: true do let(:exhibit) { FactoryGirl.create(:exhibit) } let(:user) { FactoryGirl.create(:exhibit_admin, exhibit: exhibit) } before do login_as user exhibit.blacklight_configuration.update(document_index_view_types: %w(list gallery slideshow)) end it 'has slideshow' do visit spotlight.exhibit_catalog_index_path(exhibit, f: { genre_ssim: ['map'] }) expect(page).to have_content 'You searched for:' within '.view-type' do click_link 'Slideshow' end find('.grid [data-slide-to="1"]').trigger('click') expect(page).to have_selector '#slideshow', visible: true end end
Version data entries
21 entries across 21 versions & 1 rubygems