Sha256: 6c4cb6a373e28be77f26df44206da4d168d4300bbba0591eeeb616f619b7c702
Contents?: true
Size: 823 Bytes
Versions: 14
Compression:
Stored size: 823 Bytes
Contents
require 'spec_helper' feature 'Metadata tools' do feature 'when metadata references are available', js: :true do scenario 'shows up in tools' do visit solr_document_path 'stanford-cg357zz0321' expect(page).to have_css 'li.metadata a', text: 'Metadata' click_link 'Metadata' using_wait_time 15 do within '.metadata-view' do expect(page).to have_css 'div.label', text: 'MODS' expect(page).to have_css 'div.CodeRay', count: 2 expect(page).to have_css 'div.label', text: 'ISO 19139' end end end end feature 'when metadata references are not available' do scenario 'is not in tools' do visit solr_document_path 'mit-us-ma-e25zcta5dct-2000' expect(page).not_to have_css 'li.metadata a', text: 'Metadata' end end end
Version data entries
14 entries across 14 versions & 1 rubygems