Sha256: 90db35df464fd626b9f46293d29862ed2d65895b5ba57265f5d7ea797fb7292b
Contents?: true
Size: 378 Bytes
Versions: 2
Compression:
Stored size: 378 Bytes
Contents
require File.expand_path('../../spec_helper', File.dirname(__FILE__)) require 'hamster/hash' describe Hamster::Hash do before do @hash = Hamster.hash("A" => "aye", "B" => "bee", "C" => "see") end [:dup, :clone].each do |method| describe "##{method}" do it "returns self" do @hash.send(method).should equal(@hash) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hamster-0.2.7 | spec/hamster/hash/copying_spec.rb |
hamster-0.2.6 | spec/hamster/hash/copying_spec.rb |