Sha256: 6c61331c1857926044f80b2fef4d1f33b29b00becc39df9de2c2e0d57d7c74be

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

require 'spec_helper'

module Csv2hash
  describe Configuration do
    let(:configuration) { Configuration.new }

    describe '#default' do
      let(:true_values)  { ['yes','y','t'] }
      let(:false_values) { ['no','n','f']  }
      let(:nil_values)   { ['nil','null']  }

      it 'true values' do
        expect(configuration.true_values).to eq(true_values)
      end
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
csv2hash-0.7.3 spec/csv2hash/coniguration_spec.rb
csv2hash-0.7.2 spec/csv2hash/coniguration_spec.rb
csv2hash-0.7.1 spec/csv2hash/coniguration_spec.rb
csv2hash-0.7.0 spec/csv2hash/coniguration_spec.rb
csv2hash-0.6.8 spec/csv2hash/coniguration_spec.rb
csv2hash-0.6.7 spec/csv2hash/coniguration_spec.rb
csv2hash-0.6.6 spec/csv2hash/coniguration_spec.rb
csv2hash-0.6.5 spec/csv2hash/coniguration_spec.rb