Sha256: 88ffb643100b173569a4da61ea1cd22440aea0f46c7184383e9580acafd35ba8

Contents?: true

Size: 587 Bytes

Versions: 14

Compression:

Stored size: 587 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 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

14 entries across 14 versions & 1 rubygems

Version Path
geoblacklight-2.0.0 spec/features/exports_spec.rb
geoblacklight-1.9.1 spec/features/exports_spec.rb
geoblacklight-1.9.0 spec/features/exports_spec.rb
geoblacklight-1.8.0 spec/features/exports_spec.rb
geoblacklight-1.7.1 spec/features/exports_spec.rb
geoblacklight-1.7.0 spec/features/exports_spec.rb
geoblacklight-1.6.0 spec/features/exports_spec.rb
geoblacklight-1.5.1 spec/features/exports_spec.rb
geoblacklight-1.5.0 spec/features/exports_spec.rb
geoblacklight-1.4.0 spec/features/exports_spec.rb
geoblacklight-1.3.0 spec/features/exports_spec.rb
geoblacklight-1.2.0 spec/features/exports_spec.rb
geoblacklight-1.1.2 spec/features/exports_spec.rb
geoblacklight-1.1.0 spec/features/exports_spec.rb