Sha256: f9e2cafa842e70191b3833213953f8580c297c47d9173b28356de8da215ab366
Contents?: true
Size: 891 Bytes
Versions: 3
Compression:
Stored size: 891 Bytes
Contents
require 'spec_helper' feature 'Export features' do feature 'when item is public and wfs is available' do feature 'Open in Carto' do scenario 'shows up in tools' do visit solr_document_path 'tufts-cambridgegrid100-04' expect(page).to have_css 'li.exports a', text: 'Open in Carto' click_link 'Open in Carto' end end end feature 'when esri web services are available' do feature 'Open in ArcGIS Online' do scenario 'shows up in tools' do visit solr_document_path '90f14ff4-1359-4beb-b931-5cb41d20ab90' expect(page).to have_css 'li.exports a', text: 'Open in ArcGIS Online' end end end feature 'when restricted or no wfs' do scenario 'is not in tools' do visit solr_document_path 'princeton-02870w62c' expect(page).not_to have_css 'li.exports a', text: 'Open in Carto' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
geoblacklight-2.1.2 | spec/features/exports_spec.rb |
geoblacklight-2.1.1 | spec/features/exports_spec.rb |
geoblacklight-2.1.0 | spec/features/exports_spec.rb |