Sha256: 40d187259aa71141c8d38e6b2e50667a496baf795630fd789806167b476b0dcd
Contents?: true
Size: 382 Bytes
Versions: 10
Compression:
Stored size: 382 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require 'hamster/hash' require 'hamster/set' describe Hamster::Hash do describe "#keys" do before do hash = Hamster.hash("A" => "aye", "B" => "bee", "C" => "see") @result = hash.keys end it "returns the keys as a set" do @result.should == Hamster.set("A", "B", "C") end end end
Version data entries
10 entries across 10 versions & 1 rubygems