Sha256: 079a57903f5d2439fdec45c08a01109dd7b6910d1e4de21b456eeccabf2d2aa7
Contents?: true
Size: 725 Bytes
Versions: 5
Compression:
Stored size: 725 Bytes
Contents
require 'spec_helper' describe 'show volumes list', js: true do before(:each) do visit solr_document_path(:id => 'bpl-dev:3j334b469') end it 'should display the volumes list' do expect(page).to have_selector('#volumes_wrapper') end it 'should hide the read and download links' do expect(page).to have_selector('a.book_viewer_link', visible: false) end it 'should display the read, search, and download links when the volume title is clicked' do click_link('V.1') expect(page).to have_selector('.book_viewer_link', visible: true) expect(page).to have_selector('.search_inside_link', visible: true) expect(page).to have_selector('.download_volume_links', visible: true) end end
Version data entries
5 entries across 5 versions & 1 rubygems