Sha256: 44c4982a41685561e5fff6e483fb69b9fde088e9bd7e10423d1ef29e7d84935c
Contents?: true
Size: 263 Bytes
Versions: 4
Compression:
Stored size: 263 Bytes
Contents
require 'spec_helper' module Alf describe Keys, "map" do subject{ keys.map{|k| k | [:foo] } } let(:keys) { Keys[ [:a], [:name] ] } let(:expected) { Keys[ [:a, :foo], [:name, :foo] ] } it{ should eq(expected) } end end
Version data entries
4 entries across 4 versions & 1 rubygems