Sha256: a30dc6b805e259630334dc34f9f9269fa26536937878f7177003a2ba5c9c8023
Contents?: true
Size: 534 Bytes
Versions: 14
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' describe GeoConcerns::RasterFormatService do subject { described_class } it 'has select_options' do expect(subject.select_options).to eq([['GeoTIFF', 'image/tiff; gdal-format=GTiff'], ['Arc/Info ASCII Grid', 'text/plain; gdal-format=AAIGrid'], ['Arc/Info Binary Grid', 'application/octet-stream; gdal-format=AIG'], ['USGS ASCII DEM', 'text/plain; gdal-format=USGSDEM']]) end it 'looks up a label for a term' do expect(subject.label('image/tiff; gdal-format=GTiff')).to eq('GeoTIFF') end end
Version data entries
14 entries across 14 versions & 1 rubygems