Sha256: e9428277d1b846224c5a8511ddb193907cf57a8cd66807ca65e8d7fe740e0259
Contents?: true
Size: 761 Bytes
Versions: 7
Compression:
Stored size: 761 Bytes
Contents
require 'spec_helper' feature 'Configurable basemap', js: true do scenario 'defaults to positron' do visit root_path expect(page).to have_css "img[src*='cartodb']" end feature 'without provided basemap config' do before do CatalogController.blacklight_config.basemap_provider = nil end scenario 'has CartoDB map' do visit root_path expect(page).to have_css "img[src*='cartodb']" end end feature 'using darkMatter' do before do CatalogController.blacklight_config.basemap_provider = 'darkMatter' end scenario 'has darkMatter map' do puts CatalogController.blacklight_config.basemap_provider visit root_path expect(page).to have_css "img[src*='dark_all']" end end end
Version data entries
7 entries across 7 versions & 1 rubygems