Sha256: 720bb3ade4572fcf526e31f29f3e024ee2ffba789e4ba4cc8950684ec09778cc
Contents?: true
Size: 239 Bytes
Versions: 4
Compression:
Stored size: 239 Bytes
Contents
covers 'facets/enumerable/mash' tests Enumerable do unit :mash => "is an alias for #graph" do a = { :a => 1, :b => 2, :c => 3 } e = { :a => 2, :b => 3, :c => 4 } r = a.mash{ |k,v| {k => v+1} } r.assert == e end end
Version data entries
4 entries across 4 versions & 1 rubygems