Sha256: 3a16794b198f963b1c8ae849262669d29d152b286075db6cca159d72e885ec8f
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
require 'spec_helper' describe ConfigVolumizer do describe '.generate' do example do data = { "one" => "two", "three" => { "four" => "five", "six" => [ "seven", "eight", ] } } expected_data = { "one" => "two", "three.four" => "five", "three.six[0]" => "seven", "three.six[1]" => "eight", } expect(described_class.generate(data)).to eq(expected_data) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
config_volumizer-0.2.0 | spec/generator_spec.rb |