Sha256: d08c7d68f8663b887076b90520b229f89b4e1055340cfd4754bf931e180d5e1c
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
require 'spec_helper' module Figtree describe Transformer do let(:tree) do Parser.new.parse("[common]\nbasic_size_limit = 26214400\n") end it 'can apply an int type conversion' do expect(Transformer.new.apply(tree)).to eq( [ { common: OpenStruct.new({basic_size_limit: 26214400}) } ] ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
figtree-0.0.1 | spec/figtree/transformer_spec.rb |