Sha256: c49dc033efeeb0c6c745a466f379e4cf61882c73ed15d92c53b5bbb13325492c
Contents?: true
Size: 531 Bytes
Versions: 6
Compression:
Stored size: 531 Bytes
Contents
require 'spec_helper' describe GeoWorks::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
6 entries across 6 versions & 1 rubygems