Sha256: a5ba45a429afe41bb5687cfdbd59a3836af60f5c4f16007324c2bf04a76c5144
Contents?: true
Size: 383 Bytes
Versions: 11
Compression:
Stored size: 383 Bytes
Contents
require 'spec_helper' module Csv2hash describe TypeCoercer do let(:data) do [{ foo: ' y ', bar: 'no', zone: ' Null', mischievous: ' pronoun ' }] end let(:coercer) { TypeCoercer.new(data) } before { coercer.deserialize! } specify do expect(coercer.data).to eql([{ foo: true, bar: false, zone: nil, mischievous: ' pronoun ' }]) end end end
Version data entries
11 entries across 11 versions & 1 rubygems