Sha256: 7b37f5d37b6c6cf5a7e532c30fc060e7f54268f2ed82aba68eee2a72a2e66df7
Contents?: true
Size: 781 Bytes
Versions: 11
Compression:
Stored size: 781 Bytes
Contents
require 'spec_helper' describe GeoConcerns::DerivativePath do subject { described_class.derivative_path_for_reference('12', destination_name) } describe '#extension' do context 'with thumbnail destination' do let(:destination_name) { 'thumbnail' } it { is_expected.to include('.jpeg') } end context 'with display_raster destination' do let(:destination_name) { 'display_raster' } it { is_expected.to include('.tif') } end context 'with display_vector destination' do let(:destination_name) { 'display_vector' } it { is_expected.to include('.zip') } end context 'with simplified destination' do let(:destination_name) { 'simplified' } it { is_expected.to include('.simplified') } end end end
Version data entries
11 entries across 11 versions & 1 rubygems