Sha256: d7c4df2ac0143ae337ea61c57eaef3b979c620b5f849de79f669e667ba64b3d6
Contents?: true
Size: 499 Bytes
Versions: 8
Compression:
Stored size: 499 Bytes
Contents
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
8 entries across 8 versions & 1 rubygems