Sha256: c251f6c58a55ba8b6b4d766ebae85903ed56963311150176409f9cdb9b6491a1

Contents?: true

Size: 571 Bytes

Versions: 10

Compression:

Stored size: 571 Bytes

Contents

require_relative '../../../lib/tf1_converter/config'

describe TF1Converter::Config do
  it 'does not overwrite colors later' do
    TF1Converter::Config.parse_row(['COLORS'])
    TF1Converter::Config.parse_row(['Red', '00ff1155'])
    TF1Converter::Config.parse_row(['Blue', '00ff1155'])
    TF1Converter::Config.parse_row(['Green', '00ff1155'])
    TF1Converter::Config.parse_row([nil, nil])
    TF1Converter::Config.parse_row(['USE_CONSTANT_COLOR'])
    TF1Converter::Config.parse_row(['Blue', nil])
    TF1Converter::Config.colors['Blue'].should_not be_nil
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
open_gpx_2_kml-1.0.5 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-1.0.4 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-1.0.3 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-1.0.2 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-1.0.1 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-1.0.0 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-0.10.4 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-0.10.3 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-0.10.2 spec/lib/tf1_converter/config_spec.rb
open_gpx_2_kml-0.10.1 spec/lib/tf1_converter/config_spec.rb