Sha256: c109220de667f08654c096603b86b2be03e5415ebc7b4c791838a14f8e5aab00
Contents?: true
Size: 529 Bytes
Versions: 20
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe CartoHelper, type: :helper do describe '#carto_link' do let(:application_name) { 'My GeoBlacklight Deployment' } it 'removes spaces from application_name to produce valid Carto request URL' do expect(carto_link('http://demo.org/wfs/layer.json')).to eq 'http://oneclick.carto.com/?file=http%3A%2F%2Fdemo.org%2Fwfs%2Flayer.json&provider=MyGeoBlacklightDeployment&logo=http%3A%2F%2Fgeoblacklight.org%2Fimages%2Fgeoblacklight-logo.png' end end end
Version data entries
20 entries across 20 versions & 1 rubygems