Sha256: 4c01ec1237214999f449dfcfac9e72fa66bf049a4fc51becfe147b4b61009f37
Contents?: true
Size: 301 Bytes
Versions: 14
Compression:
Stored size: 301 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe 'Maps' do it 'should return a sequence of maps as a merged map' do expect(Maps.merge(sequence(:a,2,:b,4).to_maps)).to eq({a:2,b:4}) expect(Maps.merge(sequence(1,2,3,4).to_maps(false))).to eq({1=>2,3=>4}) end end
Version data entries
14 entries across 14 versions & 1 rubygems