Sha256: 3ac636f82423f7a69acd96a1874a49a3833b2894e909898f951d8643204edf46
Contents?: true
Size: 557 Bytes
Versions: 3
Compression:
Stored size: 557 Bytes
Contents
require_relative '../../../lib/tf1_converter/csv_file' module TF1Converter describe CsvFile do describe '.translate_filename' do it 'changes a filepath to be a csv filename' do base_path = '/some/long/path/with/file' CsvFile.translate_filename("#{base_path}.kmz").should == "#{base_path}.csv" end it 'changes a filepath with dots to be a csv filename' do base_path = '/some/long.path/with.file' CsvFile.translate_filename("#{base_path}.kmz").should == "#{base_path}.csv" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
open_gpx_2_kml-0.10.4 | spec/lib/tf1_converter/csv_file_spec.rb |
open_gpx_2_kml-0.10.3 | spec/lib/tf1_converter/csv_file_spec.rb |
open_gpx_2_kml-0.10.2 | spec/lib/tf1_converter/csv_file_spec.rb |